building without python was broken
authorCampbell Barton <ideasman42@gmail.com>
Sun, 12 Sep 2010 12:09:31 +0000 (12:09 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 12 Sep 2010 12:09:31 +0000 (12:09 +0000)
source/blender/windowmanager/intern/wm.c
source/blender/windowmanager/intern/wm_files.c

index 5f386170c54da5a9295ecfbb987a271efd353796..cce1c14078791d2723b849773be1b988884d3a25 100644 (file)
 #include "MEM_guardedalloc.h"
 
 #include "ED_screen.h"
-#include "BPY_extern.h"
 
+#ifndef DISABLE_PYTHON
+#include "BPY_extern.h"
+#endif
 
 /* ****************************************************** */
 
index 1264f496103e7a01876c65666055158522c7a042..1a044c653a30d38b8b314b9218c83c834b6f3640 100644 (file)
@@ -96,7 +96,9 @@
 
 #include "GPU_draw.h"
 
+#ifndef DISABLE_PYTHON
 #include "BPY_extern.h"
+#endif
 
 #include "WM_api.h"
 #include "WM_types.h"