changeset 1586:4d1d3d5393b1

Patched to compile on 32-bit X11, I think.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 22 Mar 2006 08:57:37 +0000
parents 980d2a0dc2a3
children 7fd9fc1f2be5
files src/video/x11/SDL_x11sym.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.