mirror of
https://github.com/lua/lua.git
synced 2025-01-28 06:03:00 +08:00
avoid warning in OS X - ansi
This commit is contained in:
parent
298ae7e230
commit
c05aaf3bf0
@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: luaconf.h,v 1.79 2006/01/23 19:51:43 roberto Exp roberto $
|
||||
** $Id: luaconf.h,v 1.80 2006/01/27 13:54:39 roberto Exp roberto $
|
||||
** Configuration file for Lua
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@ -650,9 +650,9 @@ union luai_Cast { double l_d; long l_l; };
|
||||
|
||||
#else
|
||||
|
||||
#define lua_popen(L,c,m) \
|
||||
((void)c, (void)m, luaL_error(L, LUA_QL("popen") " not supported"), (FILE*)0)
|
||||
#define lua_pclose(L,file) ((void)L, (void)file, 0)
|
||||
#define lua_popen(L,c,m) ((void)((void)c, m), \
|
||||
luaL_error(L, LUA_QL("popen") " not supported"), (FILE*)0)
|
||||
#define lua_pclose(L,file) ((void)((void)L, file), 0)
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user