diff options
author | John Emmas <johne53@tiscali.co.uk> | 2016-04-12 17:50:54 +0100 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2016-04-12 17:55:16 +0100 |
commit | e6dcc2d77d9d34605a4f157bcb77e404aacee060 (patch) | |
tree | 5102daab038b0582799c12edd52347ce4ace973d | |
parent | da6aae826dd017b2ceae860a48c46f84e14946d6 (diff) |
Change LuaBridge_API to be __declspec(dllexport) or __declspec(dllimport, as required
-rw-r--r-- | libs/lua/LuaBridge/detail/ClassInfo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/lua/LuaBridge/detail/ClassInfo.h b/libs/lua/LuaBridge/detail/ClassInfo.h index c64637d017..8507591bcf 100644 --- a/libs/lua/LuaBridge/detail/ClassInfo.h +++ b/libs/lua/LuaBridge/detail/ClassInfo.h @@ -27,8 +27,12 @@ //============================================================================== #ifdef COMPILER_MSVC +#ifdef LIBARDOUR_DLL_EXPORTS # define LuaBridge_API __declspec(dllexport) #else +# define LuaBridge_API __declspec(dllimport) +#endif +#else # define LuaBridge_API // mingw is sane WRT to static class members #endif |