summaryrefslogtreecommitdiff
path: root/src/plugin-luaosmesa.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin-luaosmesa.cc')
-rw-r--r--src/plugin-luaosmesa.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugin-luaosmesa.cc b/src/plugin-luaosmesa.cc
index b5e24e2..2f4e787 100644
--- a/src/plugin-luaosmesa.cc
+++ b/src/plugin-luaosmesa.cc
@@ -14,6 +14,10 @@
#include <LuaHandle.h>
#include <BLua.h>
+#ifdef FROM_LUAINTERFACE
+#define NO_DLL
+#endif
+
#ifndef WIN32
#define WEAK __attribute__ ((weak))
#else