From 0b3093348ec6430ca55f90dd1fa30c87a7fb7fae Mon Sep 17 00:00:00 2001 From: Simon Clitherow Date: Sat, 14 Jun 2003 15:20:53 +0000 Subject: [PATCH] - Fixed a compile error on Windows: VC98 Win32 Platform SDK does not define FP_INFINITE! Anyone know if VC7 is C99 compliant? --- source/blender/python/api2_2x/Metaball.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/blender/python/api2_2x/Metaball.h b/source/blender/python/api2_2x/Metaball.h index c79406862bd..06ef6e48c08 100644 --- a/source/blender/python/api2_2x/Metaball.h +++ b/source/blender/python/api2_2x/Metaball.h @@ -32,6 +32,10 @@ #ifndef EXPP_METABALL_H #define EXPP_METABALL_H +#if defined(WIN32) && !defined (FP_INFINITE) + #define FP_INFINITE 1 +#endif + #include #include