Skip to content

Commit

Permalink
Patched to compile on Visual Studio.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 15, 2016
1 parent 014956a commit 18f74c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/stdlib/SDL_qsort.c
Expand Up @@ -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
Expand Down

0 comments on commit 18f74c6

Please sign in to comment.