From 93128472323d98f9902b280e2716874cfd0b2a05 Mon Sep 17 00:00:00 2001 From: MAN-AT-ARMS Date: Mon, 24 Mar 2014 19:13:56 -0400 Subject: Update SDL2 to 2.0.3 --- src/SDL2/include/begin_code.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/SDL2/include/begin_code.h') diff --git a/src/SDL2/include/begin_code.h b/src/SDL2/include/begin_code.h index fbed7d4a..f37ee369 100644 --- a/src/SDL2/include/begin_code.h +++ b/src/SDL2/include/begin_code.h @@ -43,7 +43,7 @@ /* Some compilers use a special export keyword */ #ifndef DECLSPEC -# if defined(__WIN32__) +# if defined(__WIN32__) || defined(__WINRT__) # ifdef __BORLANDC__ # ifdef BUILD_SDL # define DECLSPEC @@ -66,7 +66,7 @@ /* By default SDL uses the C calling convention */ #ifndef SDLCALL -#if defined(__WIN32__) && !defined(__GNUC__) +#if (defined(__WIN32__) || defined(__WINRT__)) && !defined(__GNUC__) #define SDLCALL __cdecl #else #define SDLCALL -- cgit