'debug' library must be required before being used

This commit is contained in:
Roberto Ierusalimschy
2007-06-22 13:59:11 -03:00
parent ffc5f78229
commit 3904a66ab0
2 changed files with 33 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: luaconf.h,v 1.88 2007/05/03 20:49:29 roberto Exp roberto $
** $Id: luaconf.h,v 1.89 2007/06/21 13:48:04 roberto Exp roberto $
** Configuration file for Lua
** See Copyright Notice in lua.h
*/
@@ -334,6 +334,14 @@
*/
#define LUA_COMPAT_GFIND
/*
@@ LUA_COMPAT_DEBUGLIB controls compatibility with preloading
@* the debug library.
** CHANGE it to undefined as soon as you add 'require"debug"' everywhere
** you need the debug library.
*/
#define LUA_COMPAT_DEBUGLIB