summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-11-08 03:42:48 +0100
committerPixel <pixel@nobis-crew.org>2009-11-08 03:42:48 +0100
commitb75644d5f5c215a2b53c6ebd95f725e965c1702b (patch)
tree62b55a1e4fc3c9c30c21c1ca0be7f8d31e5364c1
parentfbcba09e9323859da0acff810599d5352d88b2fd (diff)
Fixup for lua-interface.light.exe
-rw-r--r--src/plugin-luarand.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugin-luarand.cc b/src/plugin-luarand.cc
index 5cb6db5..db74465 100644
--- a/src/plugin-luarand.cc
+++ b/src/plugin-luarand.cc
@@ -138,9 +138,11 @@ static void _init_plugin(Lua * L) {
extern "C" {
+#ifndef NO_DLL
WEAK void init_plugin(Lua * L) {
_init_plugin(L);
}
+#endif
void luarand_init(Lua * L) {
_init_plugin(L);