Change LuaBridge_API to be __declspec(dllexport) or __declspec(dllimport, as required

This commit is contained in:
John Emmas 2016-04-12 17:50:54 +01:00
parent da6aae826d
commit e6dcc2d77d

View File

@ -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