From aa13c591f59f55ea31c14fcc554f8fc96dff67c2 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 25 May 2011 11:12:28 -0300 Subject: avoid use of 'ifdef/ifndef'; use 'defined' instead (simpler and more powerful) --- lualib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lualib.h') diff --git a/lualib.h b/lualib.h index b1815924..d373d519 100644 --- a/lualib.h +++ b/lualib.h @@ -1,5 +1,5 @@ /* -** $Id: lualib.h,v 1.40 2010/06/10 21:29:47 roberto Exp roberto $ +** $Id: lualib.h,v 1.41 2010/10/25 14:32:36 roberto Exp roberto $ ** Lua standard libraries ** See Copyright Notice in lua.h */ @@ -50,7 +50,7 @@ LUALIB_API void (luaL_openlibs) (lua_State *L); -#ifndef lua_assert +#if !defined(lua_assert) #define lua_assert(x) ((void)0) #endif -- cgit v1.2.3-55-g6feb