File: libsdl-1.2.15-const-xdata32.3.patch

package info (click to toggle)
libalien-sdl-perl 1.446-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,576 kB
  • sloc: perl: 1,317; ansic: 130; makefile: 4
file content (14 lines) | stat: -r--r--r-- 578 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- SDL-1.2/src/video/x11/SDL_x11sym.h	2012-05-28 13:21:49.000000000 +0200
+++ SDL-1.2/src/video/x11/SDL_x11sym.h	2014-04-22 20:18:37.000000000 +0200
@@ -165,7 +165,11 @@
  */
 #ifdef LONG64
 SDL_X11_MODULE(IO_32BIT)
+#if SDL_VIDEO_DRIVER_X11_CONST_PARAM_XDATA32
+SDL_X11_SYM(int,_XData32,(Display *dpy,register _Xconst long *data,unsigned len),(dpy,data,len),return)
+#else
 SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return)
+#endif
 SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),)
 #endif