summaryrefslogtreecommitdiff
path: root/src/plugin-luagl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin-luagl.cc')
-rw-r--r--src/plugin-luagl.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugin-luagl.cc b/src/plugin-luagl.cc
index fe7c525..b823afe 100644
--- a/src/plugin-luagl.cc
+++ b/src/plugin-luagl.cc
@@ -1,5 +1,9 @@
#include <LuaGL.h>
+#ifdef FROM_LUAINTERFACE
+#define NO_DLL
+#endif
+
#ifndef WIN32
#define WEAK __attribute__ ((weak))
#else