Patched to compile on 32-bit X11, I think.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 22 Mar 2006 08:57:37 +0000
changeset 1586 4d1d3d5393b1
parent 1585 980d2a0dc2a3
child 1587 7fd9fc1f2be5
Patched to compile on 32-bit X11, I think.
src/video/x11/SDL_x11sym.h
--- a/src/video/x11/SDL_x11sym.h	Wed Mar 22 07:48:22 2006 +0000
+++ b/src/video/x11/SDL_x11sym.h	Wed Mar 22 08:57:37 2006 +0000
@@ -159,9 +159,11 @@
  * Not required...these only exist in code in headers on some 64-bit platforms,
  *  and are removed via macros elsewhere, so it's safe for them to be missing.
  */
+#ifdef LONG64
 SDL_X11_MODULE(IO_32BIT)
 SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return)
 SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),)
+#endif
 
 /*
  * These only show up on some variants of Unix.