diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2018-05-18 09:49:01 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2018-05-18 09:51:04 +0100 |
commit | b244d06a879cea18e2f81a5169d587ae9132f8fd (patch) | |
tree | 62c45990d7c86154474fdcd8fa1322b4f24ef4e4 /orc-test | |
parent | cc3331599a777e475baf53cd4ff2efc63c747ef9 (diff) | |
download | orc-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.c | 4 | ||||
-rw-r--r-- | orc-test/orctest.c | 1 |
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 |