Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
WinRT: used Win32-style DECLSPEC and SDLCALL macros (for building a .…
Browse files Browse the repository at this point in the history
…dll)
  • Loading branch information
DavidLudwig committed Oct 27, 2012
1 parent 89f120b commit 5a78fc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/begin_code.h
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5a78fc7

Please sign in to comment.