Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Merged r4710:4711 from branches/SDL-1.2: Mac OS X SDL_stdlib qsort bu…
Browse files Browse the repository at this point in the history
…ild fixes.
  • Loading branch information
icculus committed Jan 6, 2010
1 parent 20aac07 commit 5afeb03
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 5afeb03

Please sign in to comment.