rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / Ketsji / KX_PyConstraintBinding.h
index a1b3c3d6da34dcf610f1331d57b0fe7d3c542035..6da60794eb06e85b8651366b58fcdc86a83a5476 100644 (file)
@@ -29,7 +29,7 @@
 #ifndef PHY_PYTHON_CONSTRAINTBINDING
 #define PHY_PYTHON_CONSTRAINTBINDING
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
 
 #include <Python.h>
 
@@ -37,7 +37,7 @@ PyObject*                             initPythonConstraintBinding();
 void   PHY_RemovePythonConstraintBinding();
 void   PHY_SetActiveEnvironment(class  PHY_IPhysicsEnvironment* env);
 PHY_IPhysicsEnvironment*       PHY_GetActiveEnvironment();
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON
 
 #endif //PHY_PYTHON_CONSTRAINTBINDING