Android needs the SDL_main() redirect as well
authorSam Lantinga <slouken@libsdl.org>
Tue, 04 Jan 2011 11:39:04 -0800
changeset 4952 18fe0aded409
parent 4951 faad280e3280
child 4953 4f40b11e1045
Android needs the SDL_main() redirect as well
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"