diff options
Diffstat (limited to 'src/SDL2/include/begin_code.h')
-rw-r--r-- | src/SDL2/include/begin_code.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |