File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,10 @@ SDL_COMPILE_TIME_ASSERT(SDL_MICRO_VERSION_max, SDL_MICRO_VERSION <= 999);
93
93
extern SDL_NORETURN void SDL_ExitProcess (int exitcode );
94
94
SDL_NORETURN void SDL_ExitProcess (int exitcode )
95
95
{
96
- #if defined(SDL_PLATFORM_WINDOWS )
96
+ #if defined(SDL_PLATFORM_NGAGE )
97
+ extern void NGAGE_ExitApp (int exitcode );
98
+ NGAGE_ExitApp (exitcode );
99
+ #elif defined(SDL_PLATFORM_WINDOWS )
97
100
/* "if you do not know the state of all threads in your process, it is
98
101
better to call TerminateProcess than ExitProcess"
99
102
https://msdn.microsoft.com/en-us/library/windows/desktop/ms682658(v=vs.85).aspx */
@@ -714,6 +717,8 @@ const char *SDL_GetPlatform(void)
714
717
return "macOS" ;
715
718
#elif defined(SDL_PLATFORM_NETBSD )
716
719
return "NetBSD" ;
720
+ #elif defined(SDL_PLATFORM_NGAGE )
721
+ return "Nokia N-Gage" ;
717
722
#elif defined(SDL_PLATFORM_OPENBSD )
718
723
return "OpenBSD" ;
719
724
#elif defined(SDL_PLATFORM_OS2 )
You can’t perform that action at this time.
0 commit comments