Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 1 | libX11-1.5.99.901 has changed prototype of _XData32 |
| 2 | |
| 3 | Upstream-Status: Backport |
| 4 | <http://bugzilla.libsdl.org/show_bug.cgi?id=1769> |
| 5 | |
| 6 | Signed-off-by: Saul Wold <sgw@linux.intel.com> |
| 7 | |
| 8 | diff -r b6b2829cd7ef src/video/x11/SDL_x11sym.h |
| 9 | --- a/src/video/x11/SDL_x11sym.h Wed Feb 27 15:20:31 2013 -0800 |
| 10 | +++ b/src/video/x11/SDL_x11sym.h Wed Mar 27 16:07:23 2013 +0100 |
| 11 | @@ -165,7 +165,7 @@ |
| 12 | */ |
| 13 | #ifdef LONG64 |
| 14 | SDL_X11_MODULE(IO_32BIT) |
| 15 | -SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return) |
| 16 | +SDL_X11_SYM(int,_XData32,(Display *dpy,register _Xconst long *data,unsigned len),(dpy,data,len),return) |
| 17 | SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),) |
| 18 | #endif |
| 19 | |