diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-10-29 19:49:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-10-29 19:49:51 +0300 |
commit | 22bcbc574265e9385b3dd59e28f063b716c338a7 (patch) | |
tree | 57ed5462e7378e9027fd1aba3a0c07532c476575 /source/blender/blenkernel/intern | |
parent | 481831bd27b69b5afa6b54dab1e18bf5c8d27f6e (diff) |
fix for more disable python defines,
FTOCHAR didnt have brackets around the value. FTOCHAR(a+b) didnt work, FTOCHAR((a+b)) did.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/node.c | 3 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/text.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/node.c b/source/blender/blenkernel/intern/node.c index 94a21cdd5df..b881b681ed9 100644 --- a/source/blender/blenkernel/intern/node.c +++ b/source/blender/blenkernel/intern/node.c @@ -27,7 +27,10 @@ * ***** END GPL LICENSE BLOCK ***** */ +#ifndef DISABLE_PYTHON #include <Python.h> +#endif + #include <stdlib.h> #include <string.h> diff --git a/source/blender/blenkernel/intern/text.c b/source/blender/blenkernel/intern/text.c index 1ff757a5823..d33721541f8 100644 --- a/source/blender/blenkernel/intern/text.c +++ b/source/blender/blenkernel/intern/text.c @@ -47,7 +47,7 @@ #include "BKE_global.h" #include "BKE_main.h" -#ifdef DISABLE_PYTHON +#ifndef DISABLE_PYTHON #include "BPY_extern.h" #endif |