- don't build ghost's event printer unless ghost debug is enabled.
[blender.git] / intern / ghost / intern / GHOST_ISystem.cpp
index 2cb82ffd7c2767602ffb7ed56757742b736f01b5..278c224ff85bf87af6cbad7438a6670f25da5bfa 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifdef WITH_HEADLESS
 #      include "GHOST_SystemNULL.h"
-#elif defined(WITH_SDL_GHOST)
+#elif defined(WITH_GHOST_SDL)
 #      include "GHOST_SystemSDL.h"
 #elif defined(WIN32)
 #      include "GHOST_SystemWin32.h"
@@ -69,7 +69,7 @@ GHOST_TSuccess GHOST_ISystem::createSystem()
        if (!m_system) {
 #ifdef WITH_HEADLESS
                m_system = new GHOST_SystemNULL();
-#elif defined(WITH_SDL_GHOST)
+#elif defined(WITH_GHOST_SDL)
                m_system = new GHOST_SystemSDL();
 #elif defined(WIN32)
                m_system = new GHOST_SystemWin32 ();