Mercurial > sdl-ios-xcode
comparison src/stdlib/SDL_qsort.c @ 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 | 84de7511f79f |
children |
comparison
equal
deleted
inserted
replaced
4185:cb2d5514efb3 | 4186:5bacec0933f5 |
---|---|
48 #include <stdlib.h> | 48 #include <stdlib.h> |
49 #include <string.h> | 49 #include <string.h> |
50 */ | 50 */ |
51 #include "SDL_stdinc.h" | 51 #include "SDL_stdinc.h" |
52 | 52 |
53 #ifdef assert | |
54 #undef assert | |
55 #endif | |
53 #define assert(X) | 56 #define assert(X) |
57 #ifdef malloc | |
58 #undef malloc | |
59 #endif | |
54 #define malloc SDL_malloc | 60 #define malloc SDL_malloc |
61 #ifdef free | |
62 #undef free | |
63 #endif | |
55 #define free SDL_free | 64 #define free SDL_free |
65 #ifdef memcpy | |
66 #undef memcpy | |
67 #endif | |
56 #define memcpy SDL_memcpy | 68 #define memcpy SDL_memcpy |
69 #ifdef memmove | |
70 #undef memmove | |
71 #endif | |
57 #define memmove SDL_memmove | 72 #define memmove SDL_memmove |
73 #ifdef qsort | |
74 #undef qsort | |
75 #endif | |
58 #define qsort SDL_qsort | 76 #define qsort SDL_qsort |
59 | 77 |
60 | 78 |
61 #ifndef HAVE_QSORT | 79 #ifndef HAVE_QSORT |
62 | 80 |