Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

WinRT: used Win32-style DECLSPEC and SDLCALL macros (for building a .…

…dll)
  • Loading branch information
DavidLudwig committed Oct 27, 2012
1 parent 89f120b commit 5a78fc72e326770c4a96f8dcd3d4ad4b1faba97d
Showing with 2 additions and 2 deletions.
  1. +2 −2 include/begin_code.h
@@ -41,7 +41,7 @@
# else
# define DECLSPEC __declspec(export)
# endif
# elif defined(__WIN32__)
# elif defined(__WIN32__) || defined(__WINRT__)
# ifdef __BORLANDC__
# ifdef BUILD_SDL
# define DECLSPEC
@@ -62,7 +62,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

0 comments on commit 5a78fc7

Please sign in to comment.