changeset 4952:18fe0aded409

Android needs the SDL_main() redirect as well
author Sam Lantinga <slouken@libsdl.org>
date Tue, 04 Jan 2011 11:39:04 -0800
parents faad280e3280
children 4f40b11e1045
files include/SDL_main.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"