include/begin_code.h
changeset 8319 3fee3e6b616b
parent 6204 dc2eb9370e82
child 8439 14d94a8a9fb6
     1.1 --- a/include/begin_code.h	Thu Oct 18 10:03:07 2012 -0400
     1.2 +++ b/include/begin_code.h	Sat Oct 27 18:21:31 2012 -0400
     1.3 @@ -41,7 +41,7 @@
     1.4  #  else
     1.5  #   define DECLSPEC	__declspec(export)
     1.6  #  endif
     1.7 -# elif defined(__WIN32__)
     1.8 +# elif defined(__WIN32__) || defined(__WINRT__)
     1.9  #  ifdef __BORLANDC__
    1.10  #   ifdef BUILD_SDL
    1.11  #    define DECLSPEC
    1.12 @@ -62,7 +62,7 @@
    1.13  
    1.14  /* By default SDL uses the C calling convention */
    1.15  #ifndef SDLCALL
    1.16 -#if defined(__WIN32__) && !defined(__GNUC__)
    1.17 +#if (defined(__WIN32__) || defined(__WINRT__)) && !defined(__GNUC__)
    1.18  #define SDLCALL __cdecl
    1.19  #else
    1.20  #define SDLCALL