mirror of
https://github.com/yawut/SDL.git
synced 2026-08-24 01:35:39 -05:00
Merged r4710:4711 from branches/SDL-1.2: Mac OS X SDL_stdlib qsort build fixes.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user