summaryrefslogtreecommitdiff
path: root/src/plugin-luarand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin-luarand.cc')
-rw-r--r--src/plugin-luarand.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugin-luarand.cc b/src/plugin-luarand.cc
index ea0ad30..5cb6db5 100644
--- a/src/plugin-luarand.cc
+++ b/src/plugin-luarand.cc
@@ -1,3 +1,7 @@
+#ifdef FROM_LUAINTERFACE
+#define NO_DLL
+#endif
+
#ifndef WIN32
#define WEAK __attribute__ ((weak))
#else