mirror of
https://github.com/libretro/RetroArch
synced 2025-01-26 00:35:21 +00:00
Should fix build on OSX 10.8.
This commit is contained in:
parent
d9fce26801
commit
52cde797c1
@ -26,7 +26,7 @@
|
||||
bool gfx_window_title(char *buf, size_t size);
|
||||
void gfx_window_title_reset(void);
|
||||
|
||||
#ifdef HAVE_X11
|
||||
#if defined(HAVE_X11) && !defined(__APPLE__)
|
||||
#include <X11/Xlib.h>
|
||||
void gfx_suspend_screensaver(Window wnd);
|
||||
#endif
|
||||
|
@ -289,7 +289,7 @@ static void *sdl_gfx_init(const video_info_t *video, const input_driver_t **inpu
|
||||
|
||||
SDL_ShowCursor(SDL_DISABLE);
|
||||
|
||||
#ifdef HAVE_X11
|
||||
#if defined(HAVE_X11) && !defined(__APPLE__)
|
||||
RARCH_LOG("Suspending screensaver (X11).\n");
|
||||
SDL_SysWMinfo wm_info;
|
||||
SDL_VERSION(&wm_info.version);
|
||||
|
Loading…
x
Reference in New Issue
Block a user