Patched to compile on Visual Studio.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 15 Feb 2016 03:21:26 -0500
changeset 10069 ba33b870b45c
parent 10068 19998f9082dc
child 10070 734b680cba95
Patched to compile on Visual Studio.
src/stdlib/SDL_qsort.c
--- a/src/stdlib/SDL_qsort.c	Mon Feb 15 03:16:46 2016 -0500
+++ b/src/stdlib/SDL_qsort.c	Mon Feb 15 03:21:26 2016 -0500
@@ -27,6 +27,9 @@
 #define _PDCLIB_size_t size_t
 #endif
 
+#ifdef qsort
+#undef qsort
+#endif
 #define qsort SDL_qsort
 
 #define inline SDL_INLINE