[Bf-blender-cvs] [9137493] depsgraph_refactor: More mingw64 & c++11 fixes - Compiler didn't like isnan() -> _isnan()

Joshua Leung noreply at git.blender.org
Wed Dec 3 12:55:50 CET 2014


Commit: 9137493d119a89c9a5b6e243b4037c347727992f
Author: Joshua Leung
Date:   Thu Dec 4 00:14:42 2014 +1300
Branches: depsgraph_refactor
https://developer.blender.org/rB9137493d119a89c9a5b6e243b4037c347727992f

More mingw64 & c++11 fixes - Compiler didn't like isnan() -> _isnan()

===================================================================

M	intern/smoke/intern/WAVELET_NOISE.h

===================================================================

diff --git a/intern/smoke/intern/WAVELET_NOISE.h b/intern/smoke/intern/WAVELET_NOISE.h
index 9f01c8a..771e045 100644
--- a/intern/smoke/intern/WAVELET_NOISE.h
+++ b/intern/smoke/intern/WAVELET_NOISE.h
@@ -49,7 +49,9 @@
 
 #ifdef WIN32
 #include <float.h>
-#define isnan _isnan
+#ifndef __MINGW64__
+#  define isnan _isnan
+#endif
 #endif
 
 // Tile file header, update revision upon any change done to the noise generator




More information about the Bf-blender-cvs mailing list