summaryrefslogtreecommitdiff
path: root/orc-test
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-05-18 09:49:01 +0100
committerTim-Philipp Müller <tim@centricular.com>2018-05-18 09:51:04 +0100
commitb244d06a879cea18e2f81a5169d587ae9132f8fd (patch)
tree62c45990d7c86154474fdcd8fa1322b4f24ef4e4 /orc-test
parentcc3331599a777e475baf53cd4ff2efc63c747ef9 (diff)
downloadorc-b244d06a879cea18e2f81a5169d587ae9132f8fd.tar.gz
Fix MSVC compiler warning
The isnan() macro was redefined to _isnan() on MSVC, but it's been in math.h since vs2013, so it should be safe to rely on it unconditionally nowadays, and we have no intention of supporting ancient vs versions anyway.
Diffstat (limited to 'orc-test')
-rw-r--r--orc-test/orcarray.c4
-rw-r--r--orc-test/orctest.c1
2 files changed, 0 insertions, 5 deletions
diff --git a/orc-test/orcarray.c b/orc-test/orcarray.c
index 01f3d58..c0666c5 100644
--- a/orc-test/orcarray.c
+++ b/orc-test/orcarray.c
@@ -27,10 +27,6 @@
#define EXTEND_ROWS 16
#define EXTEND_STRIDE 256
-#ifdef _MSC_VER
-#define isnan(x) _isnan(x)
-#endif
-
#define ALIGNMENT 64
#define MISALIGNMENT 0
diff --git a/orc-test/orctest.c b/orc-test/orctest.c
index 7648e11..9f0e942 100644
--- a/orc-test/orctest.c
+++ b/orc-test/orctest.c
@@ -41,7 +41,6 @@
#include <math.h>
#ifdef _MSC_VER
-#define isnan(x) _isnan(x)
#define snprintf _snprintf
#endif