summaryrefslogtreecommitdiff
path: root/src/plugin-luahandle.cc
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2008-09-26 15:40:13 -0700
committerPixel <pixel@nobis-crew.org>2008-09-26 15:40:13 -0700
commit2065f585767a877518fd16b72338ca39c9251e37 (patch)
tree5f11ef6eeabdec73079f624ba12628df91ac69ef /src/plugin-luahandle.cc
parent441613bf23533f272722d88b161328abe2a0993d (diff)
Adding the NO_DLL define for MSVC built-in compilation.
Diffstat (limited to 'src/plugin-luahandle.cc')
-rw-r--r--src/plugin-luahandle.cc2
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);