Fix Mac OSX compilation

This commit is contained in:
def 2014-10-28 02:25:45 +01:00
parent 3730e19b5c
commit f1cca50695
2 changed files with 2 additions and 2 deletions

View file

@ -687,7 +687,7 @@ void CGraphicsBackend_SDL_OpenGL::NotifyWindow()
desc.dwTimeout = 0;
FlashWindowEx(&desc);
#elif defined(SDL_VIDEO_DRIVER_X11)
#elif defined(SDL_VIDEO_DRIVER_X11) && !defined(CONF_PLATFORM_MACOSX)
Display *dpy = info.info.x11.display;
Window win;
if(m_pScreenSurface->flags & SDL_FULLSCREEN)

View file

@ -994,7 +994,7 @@ void CGraphics_SDL::NotifyWindow()
desc.dwTimeout = 0;
FlashWindowEx(&desc);
#elif defined(SDL_VIDEO_DRIVER_X11)
#elif defined(SDL_VIDEO_DRIVER_X11) && !defined(CONF_PLATFORM_MACOSX)
Display *dpy = info.info.x11.display;
Window win;
if(m_pScreenSurface->flags & SDL_FULLSCREEN)