mirror of
https://github.com/libretro/RetroArch
synced 2025-01-27 12:35:23 +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);
|
bool gfx_window_title(char *buf, size_t size);
|
||||||
void gfx_window_title_reset(void);
|
void gfx_window_title_reset(void);
|
||||||
|
|
||||||
#ifdef HAVE_X11
|
#if defined(HAVE_X11) && !defined(__APPLE__)
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
void gfx_suspend_screensaver(Window wnd);
|
void gfx_suspend_screensaver(Window wnd);
|
||||||
#endif
|
#endif
|
||||||
|
@ -289,7 +289,7 @@ static void *sdl_gfx_init(const video_info_t *video, const input_driver_t **inpu
|
|||||||
|
|
||||||
SDL_ShowCursor(SDL_DISABLE);
|
SDL_ShowCursor(SDL_DISABLE);
|
||||||
|
|
||||||
#ifdef HAVE_X11
|
#if defined(HAVE_X11) && !defined(__APPLE__)
|
||||||
RARCH_LOG("Suspending screensaver (X11).\n");
|
RARCH_LOG("Suspending screensaver (X11).\n");
|
||||||
SDL_SysWMinfo wm_info;
|
SDL_SysWMinfo wm_info;
|
||||||
SDL_VERSION(&wm_info.version);
|
SDL_VERSION(&wm_info.version);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user