summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 47a1dc6024..79fe071351 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -246,7 +246,7 @@ typedef unsigned short mode_t;
#define snprintf _snprintf
#define vsnprintf _vsnprintf
-#if _MSC_VER < 1300
+#ifdef USING_MSVC6
/* VC6 has broken NaN semantics: NaN == NaN returns true instead of false */
#define NAN_COMPARE_BROKEN 1
#endif