Commit 40e8b690 authored by Ryan C. Gordon's avatar Ryan C. Gordon

Merged r4710:4711 from branches/SDL-1.2: Mac OS X SDL_stdlib qsort build fixes.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404367
parent 4f75dd55
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment