rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / Ketsji / KXNetwork / KX_NetworkMessageSensor.cpp
index 56ccac9a93e4dd4b8aaf4baba628464143546305..91b05990ba122703558135e585ca5177c93d4bfb 100644 (file)
@@ -154,7 +154,7 @@ bool KX_NetworkMessageSensor::IsPositiveTrigger()
        return m_IsUp;
 }
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
 
 /* --------------------------------------------------------------------- */
 /* Python interface ---------------------------------------------------- */
@@ -215,4 +215,4 @@ PyObject* KX_NetworkMessageSensor::pyattr_get_subjects(void *self_v, const KX_PY
        }
 }
 
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON