change #ifdef' for #if defined'
This commit is contained in:
6
ltests.c
6
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
|
** Internal Module for Debugging of the Lua Implementation
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
/*
|
/*
|
||||||
** The whole module only makes sense with LUA_DEBUG on
|
** The whole module only makes sense with LUA_DEBUG on
|
||||||
*/
|
*/
|
||||||
#ifdef LUA_DEBUG
|
#if defined(LUA_DEBUG)
|
||||||
|
|
||||||
|
|
||||||
int Trick = 0;
|
int Trick = 0;
|
||||||
@@ -979,7 +979,7 @@ static int testC (lua_State *L) {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
else if EQ("throw") {
|
else if EQ("throw") {
|
||||||
#ifdef __cplusplus
|
#if defined(__cplusplus)
|
||||||
static struct X { int x; } x;
|
static struct X { int x; } x;
|
||||||
throw x;
|
throw x;
|
||||||
#else
|
#else
|
||||||
|
|||||||
4
lua.h
4
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
|
** Lua - An Extensible Extension Language
|
||||||
** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil
|
** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil
|
||||||
** http://www.lua.org mailto:info@lua.org
|
** 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
|
** generic extra include file
|
||||||
*/
|
*/
|
||||||
#ifdef LUA_USER_H
|
#if defined(LUA_USER_H)
|
||||||
#include LUA_USER_H
|
#include LUA_USER_H
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user