mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
attempt to make ULONGLONG_MAX work on Windows.
include/config-win.h: ULONGLONG_MAX definition added include/my_global.h: comment about config-win.h added
This commit is contained in:
@ -85,6 +85,7 @@
|
||||
|
||||
#define LONGLONG_MIN ((__int64) 0x8000000000000000)
|
||||
#define LONGLONG_MAX ((__int64) 0x7FFFFFFFFFFFFFFF)
|
||||
#define ULONGLONG_MAX ((unsigned __int64) 0xFFFFFFFFFFFFFFFF)
|
||||
#define LL(A) ((__int64) A)
|
||||
|
||||
/* Type information */
|
||||
|
@ -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
|
||||
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)
|
||||
|
Reference in New Issue
Block a user