Skip to content
Permalink
Browse files

Fixed compiler warnings on Mac OS X 10.6 SDK.

  • Loading branch information
icculus committed Sep 12, 2009
1 parent b0db1ca commit b55445b92e6dd15f80e517a704acb35072e6b530
Showing with 18 additions and 0 deletions.
  1. +18 −0 src/stdlib/SDL_qsort.c
@@ -50,11 +50,29 @@
*/
#include "SDL_stdinc.h"

#ifdef assert
#undef assert
#endif
#define assert(X)
#ifdef malloc
#undef malloc
#endif
#define malloc SDL_malloc
#ifdef free
#undef free
#endif
#define free SDL_free
#ifdef memcpy
#undef memcpy
#endif
#define memcpy SDL_memcpy
#ifdef memmove
#undef memmove
#endif
#define memmove SDL_memmove
#ifdef qsort
#undef qsort
#endif
#define qsort SDL_qsort


0 comments on commit b55445b

Please sign in to comment.