diff options
Diffstat (limited to 'source/blender/python/api2_2x/Key.c')
-rw-r--r-- | source/blender/python/api2_2x/Key.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/Key.c b/source/blender/python/api2_2x/Key.c index 88facd80b4e..90a628152e0 100644 --- a/source/blender/python/api2_2x/Key.c +++ b/source/blender/python/api2_2x/Key.c @@ -41,6 +41,7 @@ #include <BKE_main.h> #include <BKE_curve.h> #include <BKE_library.h> +#include <BKE_utildefines.h> #include "BIF_space.h" #include "Ipocurve.h" @@ -60,9 +61,6 @@ #define KEY_TYPE_CURVE 1 #define KEY_TYPE_LATTICE 2 -/* macro from blenkernel/intern/key.c:98 */ -#define GS(a) (*((short *)(a))) - static int Key_compare( BPy_Key * a, BPy_Key * b ); static PyObject *Key_repr( BPy_Key * self ); static void Key_dealloc( BPy_Key * self ); |