From de6fc75d630b393d8b577ba03353abe527523d0f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 17 Dec 2009 10:26:09 -0200 Subject: several configuration options that do not change often moved out of luaconf.h and into more internal files --- linit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linit.c') diff --git a/linit.c b/linit.c index cb194d11..264a4457 100644 --- a/linit.c +++ b/linit.c @@ -1,5 +1,5 @@ /* -** $Id: linit.c,v 1.20 2009/09/05 12:39:29 roberto Exp roberto $ +** $Id: linit.c,v 1.21 2009/12/11 13:40:44 roberto Exp roberto $ ** Initialization of libraries for lua.c and other clients ** See Copyright Notice in lua.h */ @@ -63,7 +63,7 @@ LUALIB_API void luaL_openlibs (lua_State *L) { lua_setfield(L, -2, lib->name); } lua_pop(L, 1); /* remove package.preload table */ -#ifdef LUA_COMPAT_DEBUGLIB +#if defined(LUA_COMPAT_DEBUGLIB) lua_getfield(L, LUA_GLOBALSINDEX, "require"); lua_pushliteral(L, LUA_DBLIBNAME); lua_call(L, 1, 0); /* call 'require"debug"' */ -- cgit v1.2.3-55-g6feb