Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11dyn.h @ 1226:d05306f0dc21
More dynamic X11 fixes...catches some code in Xlib headers that caused
dependencies...
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 04 Jan 2006 22:57:50 +0000 |
parents | 4b3e2294782d |
children | f60f6f4ffc6f |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11dyn.h Wed Jan 04 21:01:49 2006 +0000 +++ b/src/video/x11/SDL_x11dyn.h Wed Jan 04 22:57:50 2006 +0000 @@ -65,6 +65,15 @@ /* Macro in the xlib headers, not an actual symbol... */ #define pXDestroyImage XDestroyImage +/* Workaround code in headers... */ +#if !__SDL_NO_REDEFINE_X11_HEADER_SYMS +#define _XFlush p_XFlush +#define _XFlushGCCache p_XFlushGCCache +#define _XReply p_XReply +#define _XSend p_XSend +#define _XData32 p_XData32 +#endif + int SDL_X11_LoadSymbols(void); void SDL_X11_UnloadSymbols(void);