rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / GameLogic / SCA_IController.h
index e23a0d7dc9205a8a8799b14113caf6cddea6a131..2d19770be4ac8aa6751376572e0e6a52bb43838e 100644 (file)
@@ -99,11 +99,11 @@ public:
        }
        
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
        static PyObject*        pyattr_get_state(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef);
        static PyObject*        pyattr_get_sensors(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef);
        static PyObject*        pyattr_get_actuators(void *self_v, const KX_PYATTRIBUTE_DEF *attrdef);
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON
 };
 
 #endif