Browse Source

Fix warning on Windows

git-svn-id: http://svn.drobilla.net/serd/trunk@497 490d8e77-9747-427b-9fa3-0b8f29cee8a0
zrythm_meson
David Robillard 7 years ago
parent
commit
0f59fdf1c1
  1. 6
      tests/serd_test.c

6
tests/serd_test.c

@ -25,9 +25,11 @@ @@ -25,9 +25,11 @@
#define USTR(s) ((const uint8_t*)(s))
#ifdef _WIN32
#ifndef INFINITY
# define INFINITY (DBL_MAX + DBL_MAX)
# define NAN (INFINITY - INFINITY)
#endif
#ifndef NAN
# define NAN (INFINITY - INFINITY)
#endif
static int

Loading…
Cancel
Save