projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da6aae8
)
Change LuaBridge_API to be __declspec(dllexport) or __declspec(dllimport, as required
author
John Emmas
<johne53@tiscali.co.uk>
Tue, 12 Apr 2016 16:50:54 +0000
(17:50 +0100)
committer
John Emmas
<johne53@tiscali.co.uk>
Tue, 12 Apr 2016 16:55:16 +0000
(17:55 +0100)
libs/lua/LuaBridge/detail/ClassInfo.h
patch
|
blob
|
history
diff --git
a/libs/lua/LuaBridge/detail/ClassInfo.h
b/libs/lua/LuaBridge/detail/ClassInfo.h
index c64637d01736415a0bbc881834f8e40634022e9e..8507591bcfbec273d881b59a4dd7aa53e2fa6333 100644
(file)
--- 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