summaryrefslogtreecommitdiff
path: root/src/SDL2/include/begin_code.h
diff options
context:
space:
mode:
authorMAN-AT-ARMS <donny@ecgnetwork.com>2014-03-24 19:13:56 -0400
committerTim Angus <tim@ngus.net>2014-08-28 11:03:33 +0100
commit93128472323d98f9902b280e2716874cfd0b2a05 (patch)
treea164f935d44b0d1ca10439ef82358392b8847198 /src/SDL2/include/begin_code.h
parent691ccef4078f82424e1c3dae2e7d1ba0ff6573ce (diff)
Update SDL2 to 2.0.3
Diffstat (limited to 'src/SDL2/include/begin_code.h')
-rw-r--r--src/SDL2/include/begin_code.h4
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