mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Another fix for PS3 build.
This commit is contained in:
parent
ad36fdac50
commit
fec750c892
@ -90,7 +90,12 @@
|
|||||||
/* Note: changing the following defines breaks the Lua 5.1 ABI. */
|
/* Note: changing the following defines breaks the Lua 5.1 ABI. */
|
||||||
#define LUA_INTEGER ptrdiff_t
|
#define LUA_INTEGER ptrdiff_t
|
||||||
#define LUA_IDSIZE 60 /* Size of lua_Debug.short_src. */
|
#define LUA_IDSIZE 60 /* Size of lua_Debug.short_src. */
|
||||||
#define LUAL_BUFFERSIZE BUFSIZ /* Size of lauxlib and io.* buffers. */
|
/*
|
||||||
|
** Size of lauxlib and io.* on-stack buffers. Weird workaround to avoid using
|
||||||
|
** unreasonable amounts of stack space, but still retain ABI compatibility.
|
||||||
|
** Blame Lua for depending on BUFSIZ in the ABI, blame **** for wrecking it.
|
||||||
|
*/
|
||||||
|
#define LUAL_BUFFERSIZE (BUFSIZ > 16384 ? 8192 : BUFSIZ)
|
||||||
|
|
||||||
/* The following defines are here only for compatibility with luaconf.h
|
/* The following defines are here only for compatibility with luaconf.h
|
||||||
** from the standard Lua distribution. They must not be changed for LuaJIT.
|
** from the standard Lua distribution. They must not be changed for LuaJIT.
|
||||||
|
Loading…
Reference in New Issue
Block a user