summaryrefslogtreecommitdiff
path: root/src/luaconf.h
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2020-10-29 17:38:42 -0400
committerJeffrey Armstrong <jeff@approximatrix.com>2020-10-29 17:38:42 -0400
commit9ad7fb77aae46ff8b08bbabb9679fd28a9cea90e (patch)
treecaeab616e39eaeba22e0553b03a9a2454ed42bfb /src/luaconf.h
parent36dcf22496d0c2170d5eea063aeab51ad21cd1ed (diff)
downloadrainbow-lua-9ad7fb77aae46ff8b08bbabb9679fd28a9cea90e.zip
rainbow-lua-9ad7fb77aae46ff8b08bbabb9679fd28a9cea90e.tar.gz
Minor fixes to the makefile to support OpenWatcom's insanity. Minor changes to buffer size in config file.HEADmaster
Diffstat (limited to 'src/luaconf.h')
-rw-r--r--src/luaconf.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/luaconf.h b/src/luaconf.h
index 9eeeea6..28772d9 100644
--- a/src/luaconf.h
+++ b/src/luaconf.h
@@ -1,4 +1,4 @@
-/*
+ /*
** $Id: luaconf.h,v 1.259.1.1 2017/04/19 17:29:57 roberto Exp $
** Configuration file for Lua
** See Copyright Notice in lua.h
@@ -728,7 +728,7 @@
#if LUAI_BITSINT >= 32
#define LUAI_MAXSTACK 1000000
#else
-#define LUAI_MAXSTACK 15000
+#define LUAI_MAXSTACK 500
#endif
@@ -758,7 +758,8 @@
#if LUA_FLOAT_TYPE == LUA_FLOAT_LONGDOUBLE
#define LUAL_BUFFERSIZE 8192
#else
-#define LUAL_BUFFERSIZE ((int)(0x80 * sizeof(void*) * sizeof(lua_Integer)))
+#define LUAL_BUFFERSIZE 256
+/* ((int)(0x80 * sizeof(void*) * sizeof(lua_Integer))) */
#endif
/* }================================================================== */