Mercurial > sdl-ios-xcode
changeset 4186:5bacec0933f5 SDL-1.2
Fixed compiler warnings on Mac OS X 10.6 SDK.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sat, 12 Sep 2009 13:15:27 +0000 |
parents | cb2d5514efb3 |
children | b8d7c7a46ff7 |
files | src/stdlib/SDL_qsort.c |
diffstat | 1 files changed, 18 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/stdlib/SDL_qsort.c Sat Sep 12 13:10:16 2009 +0000 +++ b/src/stdlib/SDL_qsort.c Sat Sep 12 13:15:27 2009 +0000 @@ -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