diff options
Diffstat (limited to 'core/src/xmake/libc/prefix.h')
| -rw-r--r-- | core/src/xmake/libc/prefix.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/core/src/xmake/libc/prefix.h b/core/src/xmake/libc/prefix.h index dd6dcb2ec..3bed4da3d 100644 --- a/core/src/xmake/libc/prefix.h +++ b/core/src/xmake/libc/prefix.h @@ -31,14 +31,11 @@ */ // return libc error -#define xm_libc_return_error(lua, error) \ - do \ - { \ - lua_pushnil(lua); \ - lua_pushliteral(lua, error); \ - return 2; \ +#define xm_libc_return_error(lua, error) \ + do { \ + lua_pushnil(lua); \ + lua_pushliteral(lua, error); \ + return 2; \ } while (0) #endif - - |
