diff options
author | David Robillard <d@drobilla.net> | 2012-12-23 01:51:13 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-12-23 01:51:13 +0000 |
commit | a6e3b5126bdb2351d6e21bacd6548e1573ff9b35 (patch) | |
tree | 2b9063af3f58da44e988f90cca3d1032608d7a9f /src | |
parent | 8bf373166744a3c0be6fc6964368269e4fc831a3 (diff) | |
download | serd-a6e3b5126bdb2351d6e21bacd6548e1573ff9b35.tar.gz serd-a6e3b5126bdb2351d6e21bacd6548e1573ff9b35.tar.bz2 serd-a6e3b5126bdb2351d6e21bacd6548e1573ff9b35.zip |
Windows compatibility fixes.
git-svn-id: http://svn.drobilla.net/serd/trunk@405 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src')
-rw-r--r-- | src/node.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -22,6 +22,11 @@ #include <math.h> #include <float.h> +#ifdef _WIN32 +# define isnan(x) _isnan(x) +# define isinf(x) (!_finite(x)) +#endif + SERD_API SerdNode serd_node_from_string(SerdType type, const uint8_t* buf) |