summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 3916b2e1f6..762ab54068 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -260,7 +260,9 @@ typedef long gid_t;
#endif
#define flushall _flushall
#define fcloseall _fcloseall
+#ifndef isnan
#define isnan _isnan /* ...same libraries as MSVC */
+#endif
#ifndef _O_NOINHERIT
# define _O_NOINHERIT 0x0080