Index: code/windows_stub/config.h
===================================================================
--- code/windows_stub/config.h	(revision 9419)
+++ code/windows_stub/config.h	(working copy)
@@ -277,7 +277,11 @@
 char *strnset( char *string, int fill, size_t count);
 
 // other stuff
+#ifdef APPLE_APP
 #define _isnan(f)     std::isnan(f)
+#else
+#define _isnan(f)     isnan(f)
+#endif
 #define _hypot(x, y)  hypot(x, y)
 
 int MulDiv(int number, int numerator, int denominator);
