projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6dcc2d
)
Modify 'getIdentityKey()' function to have LuaBridge_API linkage when building with...
author
John Emmas
<johne53@tiscali.co.uk>
Tue, 12 Apr 2016 16:53:56 +0000
(17:53 +0100)
committer
John Emmas
<johne53@tiscali.co.uk>
Tue, 12 Apr 2016 16:55:17 +0000
(17:55 +0100)
libs/lua/LuaBridge/detail/Userdata.h
patch
|
blob
|
history
diff --git
a/libs/lua/LuaBridge/detail/Userdata.h
b/libs/lua/LuaBridge/detail/Userdata.h
index a0bbf720d4b6612c77fbdf750d3f18ea58637e75..e832ef2dc135762a0bf5d00c588c17534e21b2e0 100644
(file)
--- a/
libs/lua/LuaBridge/detail/Userdata.h
+++ b/
libs/lua/LuaBridge/detail/Userdata.h
@@
-51,8
+51,14
@@
6. Our metatables have "__metatable" set to a boolean = false.
7. Our lightuserdata is unique.
*/
-#ifdef PLATFORM_WINDOWS
+
+#ifdef PLATFORM_WINDOWS
+# ifdef COMPILER_MSVC
+#include "LuaBridge/LuaBridge.h" /* Needed for LuaBridge_API */
+LuaBridge_API void* getIdentityKey ();
+# else
extern void* getIdentityKey ();
+# endif
#else
inline void* getIdentityKey ()
{