From 4a1a0a0b91719cb6eecaf9c1b30782b3d6c12420 Mon Sep 17 00:00:00 2001 From: David Ludwig Date: Sun, 4 Nov 2012 13:17:18 -0500 Subject: [PATCH] WinRT: fixed SDL_main-related linker error when __WINRT__ is defined in an app --- include/SDL_main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL_main.h b/include/SDL_main.h index b9d252b26..9f46012a8 100644 --- a/include/SDL_main.h +++ b/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