vcpkg/ports/sdl1/fix-linux-build.patch
JackBoosY 87df6592ff [sdl1]Support linux build. (#8070)
* [sdl1]Support linux build.

* [sdl1]Remove linux configure args.

* [sdl1]Use vcpkg_execute_build_process instead of vcpkg_execute_required_process.

* [sdl1]Add vcpkg_execute_build_process args.

* [sdl1]Add NO_PARALLEL_COMMAND param with vcpkg_execute_build_process.
2019-09-11 10:42:07 -07:00

14 lines
592 B
Diff

diff --git a/src/video/x11/SDL_x11sym.h b/src/video/x11/SDL_x11sym.h
index 4875b98..10bf365 100644
--- a/src/video/x11/SDL_x11sym.h
+++ b/src/video/x11/SDL_x11sym.h
@@ -165,7 +165,7 @@ SDL_X11_SYM(Bool,XShmQueryExtension,(Display* a),(a),return)
*/
#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(int,_XData32,(Display *dpy,_Xconst 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