Mercurial > sdl-ios-xcode
comparison include/SDL_main.h @ 2341:c6cd46639bc5 gsoc2008_iphone
iPhone port uses custom main
author | Holmes Futrell <hfutrell@umail.ucsb.edu> |
---|---|
date | Fri, 11 Jul 2008 00:30:31 +0000 |
parents | 0e7becb566ee |
children | 6259afb046c5 |
comparison
equal
deleted
inserted
replaced
2340:6733d2889e6f | 2341:c6cd46639bc5 |
---|---|
27 | 27 |
28 /* Redefine main() on some platforms so that it is called by SDL */ | 28 /* Redefine main() on some platforms so that it is called by SDL */ |
29 | 29 |
30 #if defined(__WIN32__) || \ | 30 #if defined(__WIN32__) || \ |
31 (defined(__MWERKS__) && !defined(__BEOS__)) || \ | 31 (defined(__MWERKS__) && !defined(__BEOS__)) || \ |
32 defined(__SYMBIAN32__) | 32 defined(__SYMBIAN32__) || defined(__IPHONEOS__) |
33 | 33 |
34 #ifdef __cplusplus | 34 #ifdef __cplusplus |
35 #define C_LINKAGE "C" | 35 #define C_LINKAGE "C" |
36 #else | 36 #else |
37 #define C_LINKAGE | 37 #define C_LINKAGE |