From 218bc9c15cd75afa0165b453243f2b706142af9b Mon Sep 17 00:00:00 2001 From: Nicolas Noble Date: Wed, 3 Dec 2008 04:34:51 -0800 Subject: Fixing module system for Darwin. --- src/lua-interface.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/lua-interface.cpp') diff --git a/src/lua-interface.cpp b/src/lua-interface.cpp index 79307a6..0765f4c 100644 --- a/src/lua-interface.cpp +++ b/src/lua-interface.cpp @@ -74,11 +74,12 @@ extern void luaosmesa_init(Lua * L) WEAK; } -#ifdef _WIN32 #ifndef NO_DLL -#define main win32_dll_main +#define main dll_main #endif +#ifdef _WIN32 + #include #include #include -- cgit v1.2.3