summaryrefslogtreecommitdiff
path: root/msvc_extra_headers
diff options
context:
space:
mode:
Diffstat (limited to 'msvc_extra_headers')
-rw-r--r--msvc_extra_headers/ardourext/misc.h.input4
1 files changed, 4 insertions, 0 deletions
diff --git a/msvc_extra_headers/ardourext/misc.h.input b/msvc_extra_headers/ardourext/misc.h.input
index 9bcba6f327..161ed167f1 100644
--- a/msvc_extra_headers/ardourext/misc.h.input
+++ b/msvc_extra_headers/ardourext/misc.h.input
@@ -49,6 +49,10 @@
#define INFINITY HUGE_VAL
#endif
+#ifndef NAN
+#define NAN _NANCODE
+#endif
+
// File access modes copied from unistd.h
#define F_OK 0
#define R_OK 4