From 2065f585767a877518fd16b72338ca39c9251e37 Mon Sep 17 00:00:00 2001 From: Pixel Date: Fri, 26 Sep 2008 15:40:13 -0700 Subject: Adding the NO_DLL define for MSVC built-in compilation. --- src/plugin-luaconfigfiles.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugin-luaconfigfiles.cc') diff --git a/src/plugin-luaconfigfiles.cc b/src/plugin-luaconfigfiles.cc index 32f6130..5b7ace8 100644 --- a/src/plugin-luaconfigfiles.cc +++ b/src/plugin-luaconfigfiles.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 luaconfigfiles_init(Lua * L) { _init_plugin(L); -- cgit v1.2.3