rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / GameLogic / SCA_XORController.cpp
index a58f30a3bedd4663b1410f767cec688c9d0ac438..ee63b72e455fa5b78a8e57786349322de41fb443 100644 (file)
@@ -91,7 +91,7 @@ CValue* SCA_XORController::GetReplica()
        return replica;
 }
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
 
 /* ------------------------------------------------------------------------- */
 /* Python functions                                                          */
@@ -127,6 +127,6 @@ PyMethodDef SCA_XORController::Methods[] = {
 PyAttributeDef SCA_XORController::Attributes[] = {
        { NULL }        //Sentinel
 };
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON
 
 /* eof */