rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / GameLogic / SCA_JoystickSensor.h
index 90fb16de7476c18adec218f17f77f1138992d804..39f826dfe021d972565368f5ea3c003d2ea6bb72 100644 (file)
@@ -117,7 +117,7 @@ public:
                return m_joyindex;
        }
 
-#ifndef DISABLE_PYTHON
+#ifdef WITH_PYTHON
 
        /* --------------------------------------------------------------------- */
        /* Python interface ---------------------------------------------------- */
@@ -157,7 +157,7 @@ public:
                return 0;
        }
        
-#endif // DISABLE_PYTHON
+#endif // WITH_PYTHON
 
 };