From dec7875a6e23212021e4d9080330a42832dfe02a Mon Sep 17 00:00:00 2001 From: Edward Rudd <urkle@outoforder.cc> Date: Tue, 15 Jun 2021 01:40:19 +0000 Subject: [PATCH] update SDL soruce to 2.0.14 --- source/include/begin_code.h | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/source/include/begin_code.h b/source/include/begin_code.h index 170d69e..1ca40cc 100644 --- a/source/include/begin_code.h +++ b/source/include/begin_code.h @@ -51,15 +51,11 @@ /* Some compilers use a special export keyword */ #ifndef DECLSPEC -# if defined(__WIN32__) || defined(__WINRT__) -# ifdef __BORLANDC__ -# ifdef BUILD_SDL -# define DECLSPEC -# else -# define DECLSPEC __declspec(dllimport) -# endif -# else +# if defined(__WIN32__) || defined(__WINRT__) || defined(__CYGWIN__) +# ifdef DLL_EXPORT # define DECLSPEC __declspec(dllexport) +# else +# define DECLSPEC # endif # elif defined(__OS2__) # ifdef BUILD_SDL -- Gitblit v1.9.3