mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 15:26:55 -05:00
Merged r4710:4711 from branches/SDL-1.2: Mac OS X SDL_stdlib qsort build fixes.
This commit is contained in:
parent
b4ed725c0b
commit
4b5c236a0d
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user