win32: fix symbols leakage for static libraries

This commit is contained in:
Mikhail Paulyshka 2017-09-24 14:32:30 +03:00
parent 7f1c6e82b9
commit 146d9b8201
1 changed files with 3 additions and 1 deletions

View File

@ -58,8 +58,10 @@
# else # else
# define DECLSPEC __declspec(dllimport) # define DECLSPEC __declspec(dllimport)
# endif # endif
# else # elif defined(_DLL)
# define DECLSPEC __declspec(dllexport) # define DECLSPEC __declspec(dllexport)
# else
# define DECLSPEC
# endif # endif
# elif defined(__OS2__) # elif defined(__OS2__)
# ifdef BUILD_SDL # ifdef BUILD_SDL