diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/sdl1/export-symbols-only-in-shared-build.patch | |
Diffstat (limited to 'vcpkg/ports/sdl1/export-symbols-only-in-shared-build.patch')
| -rw-r--r-- | vcpkg/ports/sdl1/export-symbols-only-in-shared-build.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/sdl1/export-symbols-only-in-shared-build.patch b/vcpkg/ports/sdl1/export-symbols-only-in-shared-build.patch new file mode 100644 index 0000000..c1ea96d --- /dev/null +++ b/vcpkg/ports/sdl1/export-symbols-only-in-shared-build.patch @@ -0,0 +1,15 @@ +diff -r 8df7a59b5528 -r 46ec9baae30c include/begin_code.h +--- a/include/begin_code.h Fri Sep 22 11:25:52 2017 -0700 ++++ b/include/begin_code.h Sun Sep 24 14:32:30 2017 +0300 +@@ -54,8 +54,10 @@ + # else + # define DECLSPEC __declspec(dllimport) + # endif ++# elif defined(_DLL) ++# define DECLSPEC __declspec(dllexport) + # else +-# define DECLSPEC __declspec(dllexport) ++# define DECLSPEC + # endif + # elif defined(__OS2__) + # ifdef __WATCOMC__ |