@@ -32,11 +32,29 @@
#include "SDL_mutex.h"
#include "SDL_thread.h"
+#ifdef realloc
+#undef realloc
+#endif
#define realloc SDL_realloc
+#ifdef snprintf
+#undef snprintf
#define snprintf SDL_snprintf
+#ifdef strdup
+#undef strdup
#define strdup SDL_strdup
+#ifdef strncpy
+#undef strncpy
#define strncpy SDL_strlcpy
+#ifdef tolower
+#undef tolower
#define tolower SDL_tolower
+#ifdef wcsncpy
+#undef wcsncpy
#define wcsncpy SDL_wcslcpy
#ifndef HAVE_WCSDUP