diff options
| author | Mike Pall <mike> | 2013-01-14 14:14:12 +0100 |
|---|---|---|
| committer | Mike Pall <mike> | 2013-01-14 14:14:12 +0100 |
| commit | fec750c892d9de9d910996d841233aa66eebc62d (patch) | |
| tree | c8f3b4f68c341468f7513cadfa0f5a362fd3cecb /src | |
| parent | ad36fdac50307891ad926fcab40284c11e1d49bc (diff) | |
| download | luajit-fec750c892d9de9d910996d841233aa66eebc62d.tar.gz luajit-fec750c892d9de9d910996d841233aa66eebc62d.tar.bz2 luajit-fec750c892d9de9d910996d841233aa66eebc62d.zip | |
Another fix for PS3 build.
Diffstat (limited to 'src')
| -rw-r--r-- | src/luaconf.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/luaconf.h b/src/luaconf.h index de519186..acfd81ac 100644 --- a/src/luaconf.h +++ b/src/luaconf.h | |||
| @@ -90,7 +90,12 @@ | |||
| 90 | /* Note: changing the following defines breaks the Lua 5.1 ABI. */ | 90 | /* Note: changing the following defines breaks the Lua 5.1 ABI. */ |
| 91 | #define LUA_INTEGER ptrdiff_t | 91 | #define LUA_INTEGER ptrdiff_t |
| 92 | #define LUA_IDSIZE 60 /* Size of lua_Debug.short_src. */ | 92 | #define LUA_IDSIZE 60 /* Size of lua_Debug.short_src. */ |
| 93 | #define LUAL_BUFFERSIZE BUFSIZ /* Size of lauxlib and io.* buffers. */ | 93 | /* |
| 94 | ** Size of lauxlib and io.* on-stack buffers. Weird workaround to avoid using | ||
| 95 | ** unreasonable amounts of stack space, but still retain ABI compatibility. | ||
| 96 | ** Blame Lua for depending on BUFSIZ in the ABI, blame **** for wrecking it. | ||
| 97 | */ | ||
| 98 | #define LUAL_BUFFERSIZE (BUFSIZ > 16384 ? 8192 : BUFSIZ) | ||
| 94 | 99 | ||
| 95 | /* The following defines are here only for compatibility with luaconf.h | 100 | /* The following defines are here only for compatibility with luaconf.h |
| 96 | ** from the standard Lua distribution. They must not be changed for LuaJIT. | 101 | ** from the standard Lua distribution. They must not be changed for LuaJIT. |
