From b75644d5f5c215a2b53c6ebd95f725e965c1702b Mon Sep 17 00:00:00 2001 From: Pixel Date: Sun, 8 Nov 2009 03:42:48 +0100 Subject: Fixup for lua-interface.light.exe --- src/plugin-luarand.cc | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3