From 964c503a63af6df00cb3dfca0283be61655b535e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 2 Jan 1998 15:46:32 -0200 Subject: LUA_COMPAT2.5 may use #ifdef instead of #if --- lua.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index bb9b65dd..58e776f6 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.11 1997/12/15 17:47:55 roberto Exp roberto $ +** $Id: lua.h,v 1.12 1997/12/18 18:32:39 roberto Exp roberto $ ** Lua - An Extensible Extension Language ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil ** e-mail: lua@tecgraf.puc-rio.br @@ -146,15 +146,11 @@ long lua_collectgarbage (long limit); /* ========================================================================== ** for compatibility with old versions. Avoid using these macros/functions -** If your program does not use any of these, define LUA_COMPAT2_5 to 0 +** If your program does need any of these, define LUA_COMPAT2_5 */ -#ifndef LUA_COMPAT2_5 -#define LUA_COMPAT2_5 1 -#endif - -#if LUA_COMPAT2_5 +#ifdef LUA_COMPAT2_5 lua_Object lua_setfallback (char *event, lua_CFunction fallback); -- cgit v1.2.3-55-g6feb