mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 11:46:25 +01:00
Change LuaBridge_API to be __declspec(dllexport) or __declspec(dllimport, as required
This commit is contained in:
parent
da6aae826d
commit
e6dcc2d77d
1 changed files with 4 additions and 0 deletions
|
|
@ -27,8 +27,12 @@
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
#ifdef COMPILER_MSVC
|
#ifdef COMPILER_MSVC
|
||||||
|
#ifdef LIBARDOUR_DLL_EXPORTS
|
||||||
# define LuaBridge_API __declspec(dllexport)
|
# define LuaBridge_API __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
|
# define LuaBridge_API __declspec(dllimport)
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
# define LuaBridge_API // mingw is sane WRT to static class members
|
# define LuaBridge_API // mingw is sane WRT to static class members
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue