diff options
author | joerg@mysql.com <> | 2005-09-08 11:04:43 +0200 |
---|---|---|
committer | joerg@mysql.com <> | 2005-09-08 11:04:43 +0200 |
commit | 54ceb62b8df5b2d1bded6921d2fd965f00093873 (patch) | |
tree | 756b3da507ec3ed81ee3a76cab3ea3807bd04e6b /include | |
parent | 72d3e0ca1b026efc968c1ce4ffa500d5473ec145 (diff) | |
parent | 5b65d8fb034f1758a167c92f3cacfa49df47cfdc (diff) | |
download | mariadb-git-54ceb62b8df5b2d1bded6921d2fd965f00093873.tar.gz |
Merge mysql.com:/M40/clone-4.0 into mysql.com:/M40/upward-4.0
Diffstat (limited to 'include')
-rw-r--r-- | include/my_global.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h index 4b2e27aa3f6..aed4ee4fa01 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -297,6 +297,11 @@ C_MODE_END #undef HAVE_FINITE #undef LONGLONG_MIN /* These get wrongly defined in QNX 6.2 */ #undef LONGLONG_MAX /* standard system library 'limits.h' */ +#ifdef __cplusplus +#define HAVE_RINT /* rint() and isnan() functions are not */ +#define rint(a) std::rint(a) /* visible in C++ scope due to an error */ +#define isnan(a) std::isnan(a) /* in the usr/include/math.h on QNX */ +#endif #endif /* We can not live without the following defines */ |