diff options
-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) |