Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2011-07-05 18:53:37 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2011-07-05 18:53:37 +0400
commitc78cee8e278e5c4ff27674c34b367575225afe05 (patch)
treec54c1dfbc0bd0d176e37d1798c9d55c765727bbb /intern/smoke
parentccd31900ab9659b6fdc035fd91bff9f508334e22 (diff)
Fix compile for msvc (broken in r38119)
Diffstat (limited to 'intern/smoke')
-rw-r--r--intern/smoke/intern/WAVELET_NOISE.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/smoke/intern/WAVELET_NOISE.h b/intern/smoke/intern/WAVELET_NOISE.h
index edbf4254199..66dfb95d143 100644
--- a/intern/smoke/intern/WAVELET_NOISE.h
+++ b/intern/smoke/intern/WAVELET_NOISE.h
@@ -45,6 +45,11 @@
#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";