Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
WinRT: fixed SDL_main-related linker error when __WINRT__ is defined …
Browse files Browse the repository at this point in the history
…in an app
  • Loading branch information
DavidLudwig committed Nov 4, 2012
1 parent 52e7183 commit 4a1a0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/SDL_main.h
Expand Up @@ -30,7 +30,7 @@
* Redefine main() on some platforms so that it is called by SDL.
*/

#if defined(__WIN32__) || defined(__IPHONEOS__) || defined(__ANDROID__)
#if defined(__WIN32__) || defined(__WINRT__) || defined(__IPHONEOS__) || defined(__ANDROID__)
#ifndef SDL_MAIN_HANDLED
#define SDL_MAIN_NEEDED
#endif
Expand Down

0 comments on commit 4a1a0a0

Please sign in to comment.