aboutsummaryrefslogtreecommitdiff
path: root/lualib.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-05-25 11:12:28 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2011-05-25 11:12:28 -0300
commitaa13c591f59f55ea31c14fcc554f8fc96dff67c2 (patch)
tree4dda4949c1b7b783b1a847adfffa222890a07b3e /lualib.h
parent6c8a32217a04f8441fdd9233035e26930f498bf9 (diff)
downloadlua-aa13c591f59f55ea31c14fcc554f8fc96dff67c2.tar.gz
lua-aa13c591f59f55ea31c14fcc554f8fc96dff67c2.tar.bz2
lua-aa13c591f59f55ea31c14fcc554f8fc96dff67c2.zip
avoid use of 'ifdef/ifndef'; use 'defined' instead (simpler and
more powerful)
Diffstat (limited to 'lualib.h')
-rw-r--r--lualib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib.h b/lualib.h
index b1815924..d373d519 100644
--- a/lualib.h
+++ b/lualib.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lualib.h,v 1.40 2010/06/10 21:29:47 roberto Exp roberto $ 2** $Id: lualib.h,v 1.41 2010/10/25 14:32:36 roberto Exp roberto $
3** Lua standard libraries 3** Lua standard libraries
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -50,7 +50,7 @@ LUALIB_API void (luaL_openlibs) (lua_State *L);
50 50
51 51
52 52
53#ifndef lua_assert 53#if !defined(lua_assert)
54#define lua_assert(x) ((void)0) 54#define lua_assert(x) ((void)0)
55#endif 55#endif
56 56