diff options
Diffstat (limited to 'src/plugin-luahandle.cc')
-rw-r--r-- | src/plugin-luahandle.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugin-luahandle.cc b/src/plugin-luahandle.cc index 05d9fa9..9049311 100644 --- a/src/plugin-luahandle.cc +++ b/src/plugin-luahandle.cc @@ -18,9 +18,11 @@ static void _init_plugin(Lua * L) { extern "C" { +#ifndef NO_DLL WEAK void init_plugin(Lua * L) { _init_plugin(L); } +#endif void luahandle_init(Lua * L) { _init_plugin(L); |