aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-23 14:51:11 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-23 14:51:11 -0300
commit03fb3c39d4f3a60367558ee357cbb9a26f01bc2b (patch)
tree7d97354b986911d670fbbb172f64b799a626f242
parent8af1ca02e00e1b35254fadd583b626bfc8c27dd8 (diff)
downloadlua-03fb3c39d4f3a60367558ee357cbb9a26f01bc2b.tar.gz
lua-03fb3c39d4f3a60367558ee357cbb9a26f01bc2b.tar.bz2
lua-03fb3c39d4f3a60367558ee357cbb9a26f01bc2b.zip
change `#ifdef' for `#if defined'
-rw-r--r--ltests.c6
-rw-r--r--lua.h4
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 @@
1/* 1/*
2** $Id: ltests.c,v 2.20 2005/02/18 12:40:02 roberto Exp roberto $ 2** $Id: ltests.c,v 2.21 2005/03/16 16:58:41 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -34,7 +34,7 @@
34/* 34/*
35** The whole module only makes sense with LUA_DEBUG on 35** The whole module only makes sense with LUA_DEBUG on
36*/ 36*/
37#ifdef LUA_DEBUG 37#if defined(LUA_DEBUG)
38 38
39 39
40int Trick = 0; 40int Trick = 0;
@@ -979,7 +979,7 @@ static int testC (lua_State *L) {
979 } 979 }
980#endif 980#endif
981 else if EQ("throw") { 981 else if EQ("throw") {
982#ifdef __cplusplus 982#if defined(__cplusplus)
983static struct X { int x; } x; 983static struct X { int x; } x;
984 throw x; 984 throw x;
985#else 985#else
diff --git a/lua.h b/lua.h
index 8860a7e1..698d5807 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.202 2005/02/18 12:40:02 roberto Exp roberto $ 2** $Id: lua.h,v 1.203 2005/03/22 16:04:29 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension Language
4** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil 4** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil
5** http://www.lua.org mailto:info@lua.org 5** 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);
94/* 94/*
95** generic extra include file 95** generic extra include file
96*/ 96*/
97#ifdef LUA_USER_H 97#if defined(LUA_USER_H)
98#include LUA_USER_H 98#include LUA_USER_H
99#endif 99#endif
100 100