diff options
Diffstat (limited to 'src/plugin-luatask.cc')
-rw-r--r-- | src/plugin-luatask.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugin-luatask.cc b/src/plugin-luatask.cc index f6b29d3..b1b8e3d 100644 --- a/src/plugin-luatask.cc +++ b/src/plugin-luatask.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 luatask_init(Lua * L) { _init_plugin(L); |