Merge from Harmonic Skeleton branch
[blender.git] / source / blender / blenlib / BLI_arithb.h
index 11a1fd277da2065fff5a20f3c111311d0a15c4db..1e86f8fe5b37b6150b3ac985431eb17052bdb54d 100644 (file)
@@ -54,6 +54,10 @@ extern "C" {
 #define M_SQRT1_2      0.70710678118654752440
 #endif
 
+#ifdef WIN32
+    #define isnan(n) _isnan(n)
+#endif
+
 #define MAT4_UNITY {{ 1.0, 0.0, 0.0, 0.0},\
                                        { 0.0, 1.0, 0.0, 0.0},\
                                        { 0.0, 0.0, 1.0, 0.0},\