Fixed compiler warnings on Mac OS X 10.6 SDK. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Sat, 12 Sep 2009 13:15:27 +0000
branchSDL-1.2
changeset 4186 5bacec0933f5
parent 4185 cb2d5514efb3
child 4187 b8d7c7a46ff7
Fixed compiler warnings on Mac OS X 10.6 SDK.
src/stdlib/SDL_qsort.c
--- 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