Fix compile for msvc (broken in r38119)
authorNathan Letwory <nathan@letworyinteractive.com>
Tue, 5 Jul 2011 14:53:37 +0000 (14:53 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Tue, 5 Jul 2011 14:53:37 +0000 (14:53 +0000)
intern/smoke/intern/WAVELET_NOISE.h

index edbf4254199c69c5784e6190a7a5a684c4a6d15e..66dfb95d1436c9d3254960da53e4ebdaa366316d 100644 (file)
 
 #include <MERSENNETWISTER.h>
 
+#ifdef WIN32
+#include <float.h>
+#define isnan _isnan
+#endif
+
 // Tile file header, update revision upon any change done to the noise generator
 static const char tilefile_headerstring[] = "Noise Tile File rev. ";
 static const char tilefile_revision[] =  "001";