From bd017bb1798c32e91599ba30ed9215dae7375ee9 Mon Sep 17 00:00:00 2001 From: pelya Date: Thu, 6 May 2010 15:00:04 +0300 Subject: [PATCH] Added missing includes in global header --- .../project/jni/sdl/include/SDL_config_android.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/alienblaster/project/jni/sdl/include/SDL_config_android.h b/alienblaster/project/jni/sdl/include/SDL_config_android.h index 2e29f0181..881254917 100644 --- a/alienblaster/project/jni/sdl/include/SDL_config_android.h +++ b/alienblaster/project/jni/sdl/include/SDL_config_android.h @@ -29,7 +29,8 @@ #include #include - +#include // for memmove etc +#include // for bcopy etc #define SDL_AUDIO_DRIVER_ANDROID 1 @@ -50,9 +51,20 @@ #define NO_SDL_GLEXT 1 -/* FireSlash found that SDL native memcpy crashes sometimes, these defines fix it */ +/* FireSlash found that SDL native memcpy crashes sometimes, these defines fix it (and they are faster) */ #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 +#define HAVE_BCOPY 1 +#define HAVE_MEMCMP 1 +#define HAVE_STRLEN 1 +#define HAVE_STRLCPY 1 +#define HAVE_STRLCAT 1 +#define HAVE_STRDUP 1 +#define HAVE_INDEX 1 +#define HAVE_RINDEX 1 +#define HAVE_STRCHR 1 +#define HAVE_STRRCHR 1 +#define HAVE_STRSTR 1 #endif /* _SDL_config_minimal_h */