diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2006-02-10 15:44:06 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2006-02-10 15:44:06 -0200 |
| commit | c05aaf3bf003d57eed54523c8d122897067238ed (patch) | |
| tree | b177f13515de78fad2fbff9d479f4f379ba47474 | |
| parent | 298ae7e230a23c70c61f27b0c9e25975f2e716c6 (diff) | |
| download | lua-c05aaf3bf003d57eed54523c8d122897067238ed.tar.gz lua-c05aaf3bf003d57eed54523c8d122897067238ed.tar.bz2 lua-c05aaf3bf003d57eed54523c8d122897067238ed.zip | |
avoid warning in OS X - ansi
| -rw-r--r-- | luaconf.h | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: luaconf.h,v 1.79 2006/01/23 19:51:43 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.80 2006/01/27 13:54:39 roberto Exp roberto $ |
| 3 | ** Configuration file for Lua | 3 | ** Configuration file for Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -650,9 +650,9 @@ union luai_Cast { double l_d; long l_l; }; | |||
| 650 | 650 | ||
| 651 | #else | 651 | #else |
| 652 | 652 | ||
| 653 | #define lua_popen(L,c,m) \ | 653 | #define lua_popen(L,c,m) ((void)((void)c, m), \ |
| 654 | ((void)c, (void)m, luaL_error(L, LUA_QL("popen") " not supported"), (FILE*)0) | 654 | luaL_error(L, LUA_QL("popen") " not supported"), (FILE*)0) |
| 655 | #define lua_pclose(L,file) ((void)L, (void)file, 0) | 655 | #define lua_pclose(L,file) ((void)((void)L, file), 0) |
| 656 | 656 | ||
| 657 | #endif | 657 | #endif |
| 658 | 658 | ||
