diff src/video/x11/SDL_x11dyn.h @ 1235:f60f6f4ffc6f

Make some dynamic X11 symbols option. _XData32 and _XRead32 are only available on 64-bit systems, and are chosen with macros in the X11 headers. So on 32-bit systems, it should fail to find these symbols and keep going anyhow.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 06 Jan 2006 20:56:13 +0000
parents d05306f0dc21
children a388f2b59044
line wrap: on
line diff
--- a/src/video/x11/SDL_x11dyn.h	Fri Jan 06 13:20:10 2006 +0000
+++ b/src/video/x11/SDL_x11dyn.h	Fri Jan 06 20:56:13 2006 +0000
@@ -58,7 +58,7 @@
 typedef int (*SDL_X11_XSynchronizeRetType)(Display*);
 typedef Status (*SDL_X11_XESetEventToWireRetType)(Display*,XEvent*,xEvent*);
 
-#define SDL_X11_SYM(ret,fn,params) extern ret (*p##fn) params;
+#define SDL_X11_SYM(req,ret,fn,params) extern ret (*p##fn) params;
 #include "SDL_x11sym.h"
 #undef SDL_X11_SYM