summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2018-05-25 22:16:04 +0400
committerSergey Vojtovich <svoj@mariadb.org>2018-05-26 13:26:32 +0400
commit7ffd7fe9627d1f750a3712aebb4503e5ae8aea8e (patch)
treeb7bd09a6a89983275c3223be08c359a6832bf0ed /include/my_global.h
parentbc469a0bdf85400f7a63834f5b7af1a513dcdec9 (diff)
downloadmariadb-git-7ffd7fe9627d1f750a3712aebb4503e5ae8aea8e.tar.gz
Cleanup isnan() portability checks
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/my_global.h b/include/my_global.h
index b52b949a1bb..65e10373d3b 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -828,16 +828,8 @@ inline unsigned long long my_double2ulonglong(double d)
#define SIZE_T_MAX (~((size_t) 0))
#endif
-#ifndef HAVE_ISNAN
-#define isnan(x) ((x) != (x))
-#endif
-#define my_isnan(x) isnan(x)
-
#ifdef __cplusplus
#include <cmath>
-#ifndef isnan
-#define isnan(X) std::isnan(X)
-#endif
#endif
/* Define missing math constants. */