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