diff --git a/source/blender/python/api2_2x/Metaball.c b/source/blender/python/api2_2x/Metaball.c index 66a4e4d6acc..9d4ff483e4f 100644 --- a/source/blender/python/api2_2x/Metaball.c +++ b/source/blender/python/api2_2x/Metaball.c @@ -31,6 +31,10 @@ #include "Metaball.h" +#ifndef FP_INFINITE +#define FP_INFINITE 1 +#endif + /*****************************************************************************/ /* Function: M_Metaball_New */ /* Python equivalent: Blender.Metaball.New */ diff --git a/source/blender/python/api2_2x/Metaball.h b/source/blender/python/api2_2x/Metaball.h index 3fc5ddb6623..c79406862bd 100644 --- a/source/blender/python/api2_2x/Metaball.h +++ b/source/blender/python/api2_2x/Metaball.h @@ -32,10 +32,6 @@ #ifndef EXPP_METABALL_H #define EXPP_METABALL_H -#if !defined (FP_INFINITE) - #define FP_INFINITE 1 -#endif - #include #include