Should fix build on OSX (*shrug*).

This commit is contained in:
Themaister 2012-09-24 10:04:15 +02:00
parent ae8ab33e81
commit 4107218a5f
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ bool gfx_ctx_set_video_mode(
SDL_ShowCursor(SDL_DISABLE);
// Suspend screensaver on X11.
#ifdef HAVE_X11
#if defined(HAVE_X11) && !defined(__APPLE__)
RARCH_LOG("Suspending screensaver (X11).\n");
SDL_SysWMinfo info;

View File

@ -120,7 +120,7 @@ bool gfx_window_title(char *buf, size_t size)
return ret;
}
#ifdef HAVE_X11
#if defined(HAVE_X11) && !defined(__APPLE__)
void gfx_suspend_screensaver(Window wnd)
{
char cmd[64];