Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

WinRT: fixed SDL_main-related linker error when __WINRT__ is defined …

…in an app
  • Loading branch information
DavidLudwig committed Nov 4, 2012
1 parent 52e7183 commit 4a1a0a0b91719cb6eecaf9c1b30782b3d6c12420
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/SDL_main.h
@@ -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

0 comments on commit 4a1a0a0

Please sign in to comment.