diff options
author | jani@rhols221.adsl.netsonic.fi <> | 2002-08-05 15:23:11 +0300 |
---|---|---|
committer | jani@rhols221.adsl.netsonic.fi <> | 2002-08-05 15:23:11 +0300 |
commit | 65c090085e8514ff29e29128933f676e1c3bd290 (patch) | |
tree | dcad9b3cf9f21d08cb840cdf2a78d0aa2d544de8 /include | |
parent | 9c49005ff505993e5637d42c32eac38814fdb6fd (diff) | |
download | mariadb-git-65c090085e8514ff29e29128933f676e1c3bd290.tar.gz |
Fix for QNX 6.2.
Diffstat (limited to 'include')
-rw-r--r-- | include/my_global.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/my_global.h b/include/my_global.h index 40cb9534b0a..c4a11a42541 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -127,8 +127,6 @@ #undef HAVE_SYS_UN_H #undef HAVE_FINITE #undef HAVE_RINT -#undef LONGLONG_MIN /* These get wrongly defined in QNX 6.2 */ -#undef LONGLONG_MAX /* standard system library 'limits.h' */ #endif #ifdef HAVE_BROKEN_SNPRINTF /* HPUX 10.20 don't have this defined */ @@ -550,6 +548,11 @@ extern double my_atof(const char*); #define HAVE_LONG_LONG 1 #endif +#ifdef __QNXNTO__ +#undef LONGLONG_MIN /* These get wrongly defined in QNX 6.2 */ +#undef LONGLONG_MAX /* standard system library 'limits.h' */ +#endif + #if defined(HAVE_LONG_LONG) && !defined(LONGLONG_MIN) #define LONGLONG_MIN ((long long) 0x8000000000000000LL) #define LONGLONG_MAX ((long long) 0x7FFFFFFFFFFFFFFFLL) |