comparison 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
comparison
equal deleted inserted replaced
1225:09bc22169702 1226:d05306f0dc21
63 #undef SDL_X11_SYM 63 #undef SDL_X11_SYM
64 64
65 /* Macro in the xlib headers, not an actual symbol... */ 65 /* Macro in the xlib headers, not an actual symbol... */
66 #define pXDestroyImage XDestroyImage 66 #define pXDestroyImage XDestroyImage
67 67
68 /* Workaround code in headers... */
69 #if !__SDL_NO_REDEFINE_X11_HEADER_SYMS
70 #define _XFlush p_XFlush
71 #define _XFlushGCCache p_XFlushGCCache
72 #define _XReply p_XReply
73 #define _XSend p_XSend
74 #define _XData32 p_XData32
75 #endif
76
68 int SDL_X11_LoadSymbols(void); 77 int SDL_X11_LoadSymbols(void);
69 void SDL_X11_UnloadSymbols(void); 78 void SDL_X11_UnloadSymbols(void);
70 79
71 #ifdef __cplusplus 80 #ifdef __cplusplus
72 } 81 }