diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2011-07-05 18:53:37 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2011-07-05 18:53:37 +0400 |
commit | c78cee8e278e5c4ff27674c34b367575225afe05 (patch) | |
tree | c54c1dfbc0bd0d176e37d1798c9d55c765727bbb /intern/smoke | |
parent | ccd31900ab9659b6fdc035fd91bff9f508334e22 (diff) |
Fix compile for msvc (broken in r38119)
Diffstat (limited to 'intern/smoke')
-rw-r--r-- | intern/smoke/intern/WAVELET_NOISE.h | 5 |
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"; |