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