From afe30686045992f09902c1d11347bee9cf87adbd Mon Sep 17 00:00:00 2001 From: Edward Rudd <urkle@outoforder.cc> Date: Tue, 15 Jun 2021 02:12:30 +0000 Subject: [PATCH] bump SDL2 includes to 2.0.14 --- include/SDL2/begin_code.h | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/include/SDL2/begin_code.h b/include/SDL2/begin_code.h index 170d69e..1ca40cc 100644 --- a/include/SDL2/begin_code.h +++ b/include/SDL2/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