From 0d83045b5fcc317cbed22b194ff9cb0a6eb6c61f Mon Sep 17 00:00:00 2001 From: Oystein Eftevaag Date: Sat, 3 Apr 2010 00:44:38 +0000 Subject: Updated XCode project svn-id: r48479 --- backends/platform/iphone/iphone_common.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'backends/platform/iphone/iphone_common.h') diff --git a/backends/platform/iphone/iphone_common.h b/backends/platform/iphone/iphone_common.h index 90d9a50aad..9f7e3e808f 100644 --- a/backends/platform/iphone/iphone_common.h +++ b/backends/platform/iphone/iphone_common.h @@ -52,13 +52,19 @@ typedef enum kUIViewSwipeRight = 8 } UIViewSwipeDirection; +#ifdef IPHONE_OFFICIAL +void iphone_main(int argc, char **argv); +#endif + // We need this to be able to call functions from/in Objective-C. #ifdef __cplusplus extern "C" { #endif // On the C++ side +#ifndef IPHONE_OFFICIAL void iphone_main(int argc, char *argv[]); +#endif // On the ObjC side void iPhone_updateScreen(); -- cgit v1.2.3