Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
b5bef295
Commit
b5bef295
authored
Dec 05, 2003
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
attempt to make ULONGLONG_MAX work on Windows.
parent
cce3acfa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
include/config-win.h
include/config-win.h
+1
-0
include/my_global.h
include/my_global.h
+1
-0
No files found.
include/config-win.h
View file @
b5bef295
...
@@ -85,6 +85,7 @@
...
@@ -85,6 +85,7 @@
#define LONGLONG_MIN ((__int64) 0x8000000000000000)
#define LONGLONG_MIN ((__int64) 0x8000000000000000)
#define LONGLONG_MAX ((__int64) 0x7FFFFFFFFFFFFFFF)
#define LONGLONG_MAX ((__int64) 0x7FFFFFFFFFFFFFFF)
#define ULONGLONG_MAX ((unsigned __int64) 0xFFFFFFFFFFFFFFFF)
#define LL(A) ((__int64) A)
#define LL(A) ((__int64) A)
/* Type information */
/* Type information */
...
...
include/my_global.h
View file @
b5bef295
...
@@ -606,6 +606,7 @@ extern double my_atof(const char*);
...
@@ -606,6 +606,7 @@ extern double my_atof(const char*);
/*
/*
Some pre-ANSI-C99 systems like AIX 5.1 and Linux/GCC 2.95 define
Some pre-ANSI-C99 systems like AIX 5.1 and Linux/GCC 2.95 define
ULONGLONG_MAX, LONGLONG_MIN, LONGLONG_MAX; we use them if they're defined.
ULONGLONG_MAX, LONGLONG_MIN, LONGLONG_MAX; we use them if they're defined.
Also on Windows we define these constants by hand in config-win.h.
*/
*/
#if defined(HAVE_LONG_LONG) && !defined(LONGLONG_MIN)
#if defined(HAVE_LONG_LONG) && !defined(LONGLONG_MIN)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment