Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Merged r4710:4711 from branches/SDL-1.2: Mac OS X SDL_stdlib qsort bu…

…ild fixes.
  • Loading branch information
icculus committed Jan 6, 2010
1 parent 20aac07 commit 5afeb03e71c3a498d4045e55a89c31e3d0714482
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 5afeb03

Please sign in to comment.