better use defined/undefined as flag values for macros

This commit is contained in:
Roberto Ierusalimschy
2005-05-20 16:09:05 -03:00
parent f21e9c172f
commit 38da9d568a
4 changed files with 20 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lauxlib.h,v 1.74 2005/01/10 17:31:50 roberto Exp roberto $
** $Id: lauxlib.h,v 1.75 2005/03/29 16:20:48 roberto Exp roberto $
** Auxiliary functions for building Lua libraries
** See Copyright Notice in lua.h
*/
@@ -15,7 +15,7 @@
#include "lua.h"
#if !LUA_COMPAT_GETN
#if !defined(LUA_COMPAT_GETN)
#define luaL_getn(L,i) lua_objsize(L, i)
#define luaL_setn(L,i,j) ((void)0) /* no op! */
#endif