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 | |
| parent | 8af1ca02e00e1b35254fadd583b626bfc8c27dd8 (diff) | |
| download | lua-03fb3c39d4f3a60367558ee357cbb9a26f01bc2b.tar.gz lua-03fb3c39d4f3a60367558ee357cbb9a26f01bc2b.tar.bz2 lua-03fb3c39d4f3a60367558ee357cbb9a26f01bc2b.zip | |
change `#ifdef' for `#if defined'
| -rw-r--r-- | ltests.c | 6 | ||||
| -rw-r--r-- | lua.h | 4 |
2 files changed, 5 insertions, 5 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 |
| @@ -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 | ||
