From 03fb3c39d4f3a60367558ee357cbb9a26f01bc2b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 23 Mar 2005 14:51:11 -0300 Subject: change `#ifdef' for `#if defined' --- ltests.c | 6 +++--- lua.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ltests.c b/ltests.c index 717e0c5e..4e12a493 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 2.20 2005/02/18 12:40:02 roberto Exp roberto $ +** $Id: ltests.c,v 2.21 2005/03/16 16:58:41 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -34,7 +34,7 @@ /* ** The whole module only makes sense with LUA_DEBUG on */ -#ifdef LUA_DEBUG +#if defined(LUA_DEBUG) int Trick = 0; @@ -979,7 +979,7 @@ static int testC (lua_State *L) { } #endif else if EQ("throw") { -#ifdef __cplusplus +#if defined(__cplusplus) static struct X { int x; } x; throw x; #else diff --git a/lua.h b/lua.h index 8860a7e1..698d5807 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.202 2005/02/18 12:40:02 roberto Exp roberto $ +** $Id: lua.h,v 1.203 2005/03/22 16:04:29 roberto Exp roberto $ ** Lua - An Extensible Extension Language ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil ** http://www.lua.org mailto:info@lua.org @@ -94,7 +94,7 @@ typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize); /* ** generic extra include file */ -#ifdef LUA_USER_H +#if defined(LUA_USER_H) #include LUA_USER_H #endif -- cgit v1.2.3-55-g6feb