Skip to content
Permalink
Browse files
Patched to compile on Visual Studio.
  • Loading branch information
icculus committed Feb 15, 2016
1 parent 014956a commit 18f74c6e152e4602adc3a7e88ec34f3469b35e70
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/stdlib/SDL_qsort.c
@@ -27,6 +27,9 @@ SDL_qsort(void *base, size_t nmemb, size_t size, int (*compare) (const void *, c
#define _PDCLIB_size_t size_t
#endif

#ifdef qsort
#undef qsort
#endif
#define qsort SDL_qsort

#define inline SDL_INLINE

0 comments on commit 18f74c6

Please sign in to comment.