diff options
author | Simon Clitherow <aphex@nildram.co.uk> | 2003-06-14 19:20:53 +0400 |
---|---|---|
committer | Simon Clitherow <aphex@nildram.co.uk> | 2003-06-14 19:20:53 +0400 |
commit | 0b3093348ec6430ca55f90dd1fa30c87a7fb7fae (patch) | |
tree | 54e7f50da144be016a82b47bc311d6cac93da8d0 /source/blender/python/api2_2x/Metaball.h | |
parent | 6dc3b9107c7abd0ef28360f2a733924c69c6098a (diff) |
- Fixed a compile error on Windows:
VC98 Win32 Platform SDK does not define FP_INFINITE!
Anyone know if VC7 is C99 compliant?
Diffstat (limited to 'source/blender/python/api2_2x/Metaball.h')
-rw-r--r-- | source/blender/python/api2_2x/Metaball.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 <Python.h> #include <BKE_main.h> |