rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / GameLogic / SCA_KeyboardSensor.cpp
index 1a87528e540443455a93eb1ec0c0785ee7be23da..fe4124eb833a23ba865fb8626341b15e3c79cbd3 100644 (file)
@@ -408,7 +408,7 @@ void SCA_KeyboardSensor::LogKeystrokes(void)
        }
 }
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
 
 /* ------------------------------------------------------------------------- */
 /* Python Functions                                                   */
@@ -501,7 +501,7 @@ PyObject* SCA_KeyboardSensor::pyattr_get_events(void *self_v, const KX_PYATTRIBU
        return resultlist;
 }
 
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON
 
 /* Accessed from python */