diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2024-04-19 03:21:56 -0600 |
|---|---|---|
| committer | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2024-09-17 19:31:26 -0300 |
| commit | dc9e25847da677492f699af28ac83603eb7066ec (patch) | |
| tree | 01df3304b97cb85dbbf32492b5e9e70f09714add /src/port/Game.cpp | |
| parent | f71ebdca828a94ed6525a3d32fe8153960e5e102 (diff) | |
Added IOS Support
Diffstat (limited to 'src/port/Game.cpp')
| -rw-r--r-- | src/port/Game.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/port/Game.cpp b/src/port/Game.cpp index ffa9bbc7..27d1cc64 100644 --- a/src/port/Game.cpp +++ b/src/port/Game.cpp @@ -31,7 +31,10 @@ void push_frame() { #ifdef _WIN32 int SDL_main(int argc, char **argv) { #else -int main(){ +#if defined(__cplusplus) && defined(PLATFORM_IOS) +extern "C" +#endif +int main(int argc, char *argv[]) { #endif GameEngine::Create(); Main_SetVIMode(); |
