diff options
author | David Robillard <d@drobilla.net> | 2016-07-31 19:12:21 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-07-31 19:12:21 -0400 |
commit | 2279e1fe9945499046209827e7c6da243a69f00c (patch) | |
tree | 447d089b76737dfb4beb6990dddd958bc99dd939 /src/node.c | |
parent | 53b9436cc497c184901f6bb283a578373ed3083b (diff) | |
download | serd-2279e1fe9945499046209827e7c6da243a69f00c.tar.gz serd-2279e1fe9945499046209827e7c6da243a69f00c.tar.bz2 serd-2279e1fe9945499046209827e7c6da243a69f00c.zip |
Fix compilation with mingw
Diffstat (limited to 'src/node.c')
-rw-r--r-- | src/node.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -23,8 +23,12 @@ #include <float.h> #ifdef _WIN32 -# define isnan(x) _isnan(x) -# define isinf(x) (!_finite(x)) +# ifndef isnan +# define isnan(x) _isnan(x) +# endif +# ifndef isinf +# define isinf(x) (!_finite(x)) +# endif #endif SERD_API |