diff options
author | Nicolas Noble <pixel@Shinji.local> | 2008-12-03 04:34:51 -0800 |
---|---|---|
committer | Nicolas Noble <pixel@Shinji.local> | 2008-12-03 04:34:51 -0800 |
commit | 218bc9c15cd75afa0165b453243f2b706142af9b (patch) | |
tree | f61193bd36c8472aa8e29255c26015984c2c9879 /src/lua-interface.cpp | |
parent | c9d980fd1e4cec1973ea3e7d54ae7057e9c29e08 (diff) |
Fixing module system for Darwin.
Diffstat (limited to 'src/lua-interface.cpp')
-rw-r--r-- | src/lua-interface.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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 <windows.h> #include <ctype.h> #include <conio.h> |