mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 15:19:01 +08:00
4bc01b00e0
* [sdl1][sdl1-net] Add new port for SDL v1.2.15 & SDL_net v1.2.8 * Version 1.2 is still required for building DOSbox * [sdl1][sdl1-net] Revise to install to expected paths * Headers go in include\ instead of include\SDL1 * Use updated .sln and .vcxproj files * [sdl1] Modernize
16 lines
454 B
Diff
16 lines
454 B
Diff
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__
|