summaryrefslogtreecommitdiff
path: root/src/lua-interface.cpp
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-06-05 15:59:16 +0000
committerPixel <pixel@nobis-crew.org>2009-06-05 15:59:16 +0000
commit289d22725eaedab3c3568ca41e11b347b6f69d8d (patch)
treee32ed5e8b6c1bb59f4dca8f9358bf3c1774c1e5b /src/lua-interface.cpp
parent0eab74c7716691805d9efc9560e7ada7341744ff (diff)
Various fixes and tweaks to the lua-interface light version.
Diffstat (limited to 'src/lua-interface.cpp')
-rw-r--r--src/lua-interface.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lua-interface.cpp b/src/lua-interface.cpp
index 0fef98a..d538be7 100644
--- a/src/lua-interface.cpp
+++ b/src/lua-interface.cpp
@@ -86,6 +86,9 @@ extern void luacd_init(Lua * L) WEAK;
#ifdef LUA_INTERFACE_LIGHT
#define MODULES_BUILT_IN
+#define LIGHT "-light"
+#else
+#define LIGHT
#endif
#ifdef _WIN32
@@ -554,7 +557,7 @@ Lua * start_full_lua(void) {
void showbanner() {
printm(M_BARE,
-"Lua-Interface version " VERSION " (c) 2003-2008 Nicolas \"Pixel\" Noble\n"
+"Lua-Interface" LIGHT " version " VERSION " (c) 2003-2009 Nicolas \"Pixel\" Noble\n"
LUA_RELEASE " " LUA_COPYRIGHT "\n"
#ifdef WIP
"Special version Work In Progress, compiled the " __DATE__ " at " __TIME__ "\n"
@@ -706,7 +709,7 @@ static void * interactive_prompt(void * __L) {
}
void autoload_exports(Lua * L) {
-#if not defined(NO_SMART_MODULES) or defined(MODULES_BUILT_IN)
+#if !defined(NO_SMART_MODULES) || defined(MODULES_BUILT_IN)
if (lualibs_init)
lualibs_init(L);
if (luahandle_init)