浏览代码

detail (LUAL_BUFFERSIZE has a larger variation among different
platforms)

Roberto Ierusalimschy 10 年之前
父节点
当前提交
244646bdf7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      luaconf.h

+ 2 - 2
luaconf.h

@@ -1,5 +1,5 @@
 /*
-** $Id: luaconf.h,v 1.226 2014/10/30 18:50:03 roberto Exp roberto $
+** $Id: luaconf.h,v 1.227 2014/11/02 19:35:39 roberto Exp roberto $
 ** Configuration file for Lua
 ** See Copyright Notice in lua.h
 */
@@ -710,7 +710,7 @@
 @@ LUAL_BUFFERSIZE is the buffer size used by the lauxlib buffer system.
 ** CHANGE it if it uses too much C-stack space.
 */
-#define LUAL_BUFFERSIZE		(0x400 * sizeof(void*))
+#define LUAL_BUFFERSIZE	((int)(0x80 * sizeof(void*) * sizeof(lua_Integer)))
 
 /* }================================================================== */