From adf54cb735bc13d1363dbfd67a1b35a0477e6ba1 Mon Sep 17 00:00:00 2001 From: Nikolay Kasyanov Date: Sat, 15 Jun 2013 13:54:24 +0400 Subject: [PATCH] SDL2 input: compilation fixed --- libs/openengine/ogre/renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/openengine/ogre/renderer.cpp b/libs/openengine/ogre/renderer.cpp index 193e094bc9..f27858a781 100644 --- a/libs/openengine/ogre/renderer.cpp +++ b/libs/openengine/ogre/renderer.cpp @@ -308,7 +308,7 @@ void OgreRenderer::createWindow(const std::string &title, const WindowSettings& // Windows code winHandle = Ogre::StringConverter::toString((unsigned long)wmInfo.info.win.window); break; -#elif MACOS +#elif __APPLE__ case SDL_SYSWM_COCOA: //required to make OGRE play nice with our window params.insert(std::make_pair("macAPI", "cocoa"));