diff options
Diffstat (limited to 'source/blender/render/intern/raytrace')
-rw-r--r-- | source/blender/render/intern/raytrace/reorganize.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/render/intern/raytrace/reorganize.h b/source/blender/render/intern/raytrace/reorganize.h index 09df74fefed..856df6ba320 100644 --- a/source/blender/render/intern/raytrace/reorganize.h +++ b/source/blender/render/intern/raytrace/reorganize.h @@ -43,7 +43,10 @@ #include "BKE_global.h" #ifdef _WIN32 -#define INFINITY FLT_MAX // in mingw math.h: (1.0F/0.0F). This generates compile error, though. +# ifdef INFINITY +# undef INFINITY +# endif +# define INFINITY FLT_MAX // in mingw math.h: (1.0F/0.0F). This generates compile error, though. #endif extern int tot_pushup; |