summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)