rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / GameLogic / SCA_ANDController.cpp
index 53c9be5215e49f635da4ea666ffcf404a47ca4da..7e2c5bdb35044bb1e5920361ebf2392d58f45202 100644 (file)
@@ -87,7 +87,7 @@ CValue* SCA_ANDController::GetReplica()
        return replica;
 }
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
 
 /* ------------------------------------------------------------------------- */
 /* Python functions                                                          */
@@ -123,5 +123,5 @@ PyMethodDef SCA_ANDController::Methods[] = {
 PyAttributeDef SCA_ANDController::Attributes[] = {
        { NULL }        //Sentinel
 };
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON
 /* eof */