From 6b8725b0eec4379ec810727cc1dccae6feeff21e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy <roberto@inf.puc-rio.br> Date: Fri, 11 Jul 2008 14:50:31 -0300 Subject: new macro LUA_COMPAT to control some compatibility macros --- luaconf.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'luaconf.h') diff --git a/luaconf.h b/luaconf.h index 7f8f52e4..b41ef027 100644 --- a/luaconf.h +++ b/luaconf.h @@ -1,5 +1,5 @@ /* -** $Id: luaconf.h,v 1.97 2008/04/07 18:58:42 roberto Exp roberto $ +** $Id: luaconf.h,v 1.98 2008/06/25 15:27:12 roberto Exp roberto $ ** Configuration file for Lua ** See Copyright Notice in lua.h */ @@ -323,6 +323,14 @@ +/* +@@ LUA_COMPAT includes some macros and functions that supply some +@* compatibility with previous versions. +** CHANGE it (undefine it) if you do not need these compatibility facilities. +*/ +#define LUA_COMPAT + + /* @@ LUA_COMPAT_VARARG controls compatibility with old vararg feature. ** CHANGE it to undefined as soon as your programs use only '...' to -- cgit v1.2.3-55-g6feb