comparison src/video/x11/SDL_x11sym.h @ 4794:e562160a873f

Check configure-defined macro before doing _anything_ with XShape.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 13 Jul 2010 02:43:49 -0400
parents f0b0bdc07916
children 7b1d35d98294
comparison
equal deleted inserted replaced
4793:cb31d2fdbe61 4794:e562160a873f
231 SDL_X11_SYM(Bool,XScreenSaverQueryExtension,(Display *dpy,int *event_base,int *error_base),(dpy,event_base,error_base),return) 231 SDL_X11_SYM(Bool,XScreenSaverQueryExtension,(Display *dpy,int *event_base,int *error_base),(dpy,event_base,error_base),return)
232 SDL_X11_SYM(Status,XScreenSaverQueryVersion,(Display *dpy,int *major_versionp,int *minor_versionp),(dpy,major_versionp,minor_versionp),return) 232 SDL_X11_SYM(Status,XScreenSaverQueryVersion,(Display *dpy,int *major_versionp,int *minor_versionp),(dpy,major_versionp,minor_versionp),return)
233 SDL_X11_SYM(void,XScreenSaverSuspend,(Display *dpy,Bool suspend),(dpy,suspend),return) 233 SDL_X11_SYM(void,XScreenSaverSuspend,(Display *dpy,Bool suspend),(dpy,suspend),return)
234 #endif 234 #endif
235 235
236 #if 1 /* !!! FIXME: SDL_VIDEO_DRIVER_X11_XSHAPE */ 236 #if SDL_VIDEO_DRIVER_X11_XSHAPE
237 SDL_X11_MODULE(XSHAPE) 237 SDL_X11_MODULE(XSHAPE)
238 SDL_X11_SYM(void,XShapeCombineMask,(Display *dpy,Window dest,int dest_kind,int x_off,int y_off,Pixmap src,int op),(dpy,dest,dest_kind,x_off,y_off,src,op),) 238 SDL_X11_SYM(void,XShapeCombineMask,(Display *dpy,Window dest,int dest_kind,int x_off,int y_off,Pixmap src,int op),(dpy,dest,dest_kind,x_off,y_off,src,op),)
239 #endif 239 #endif
240 240
241 /* *INDENT-ON* */ 241 /* *INDENT-ON* */