Skip to content

Commit

Permalink
Fixed compiler warnings on Mac OS X 10.6 SDK.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 12, 2009
1 parent b0db1ca commit b55445b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/stdlib/SDL_qsort.c
Expand Up @@ -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


Expand Down

0 comments on commit b55445b

Please sign in to comment.