rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / Ketsji / KX_PythonInitTypes.cpp
index 6b9d7a2cccf37f8a0c03ad5c24da13060de7ddc9..3cca4f39f85ba2b6645977beca72969b7a3cd62a 100644 (file)
@@ -32,7 +32,7 @@
 #ifndef _adr_py_init_types_h_                          // only process once,
 #define _adr_py_init_types_h_                          // even if multiply included
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
 
 /* Only for Class::Parents */
 #include "BL_BlenderShader.h"
@@ -256,6 +256,6 @@ void initPyTypes(void)
 #endif
 }
 
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON
 
 #endif