# HG changeset patch # User Sam Lantinga # Date 1294169944 28800 # Node ID 18fe0aded40904a1ef2e5850cd2609b1353dc2d5 # Parent faad280e32803fc6070d7a28fa71cfea4471a615 Android needs the SDL_main() redirect as well diff -r faad280e3280 -r 18fe0aded409 include/SDL_main.h --- a/include/SDL_main.h Tue Jan 04 11:22:43 2011 -0800 +++ b/include/SDL_main.h Tue Jan 04 11:39:04 2011 -0800 @@ -33,7 +33,8 @@ #if defined(__WIN32__) || \ (defined(__MWERKS__) && !defined(__BEOS__)) || \ - defined(__SYMBIAN32__) || defined(__IPHONEOS__) + defined(__SYMBIAN32__) || defined(__IPHONEOS__) || \ + defined(__ANDROID__) #ifdef __cplusplus #define C_LINKAGE "C"