diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-03-23 14:51:11 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-03-23 14:51:11 -0300 |
commit | 03fb3c39d4f3a60367558ee357cbb9a26f01bc2b (patch) | |
tree | 7d97354b986911d670fbbb172f64b799a626f242 /ltests.c | |
parent | 8af1ca02e00e1b35254fadd583b626bfc8c27dd8 (diff) | |
download | lua-03fb3c39d4f3a60367558ee357cbb9a26f01bc2b.tar.gz lua-03fb3c39d4f3a60367558ee357cbb9a26f01bc2b.tar.bz2 lua-03fb3c39d4f3a60367558ee357cbb9a26f01bc2b.zip |
change `#ifdef' for `#if defined'
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 | ||
40 | int Trick = 0; | 40 | int 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) |
983 | static struct X { int x; } x; | 983 | static struct X { int x; } x; |
984 | throw x; | 984 | throw x; |
985 | #else | 985 | #else |