Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/lua/dist/src lua(4): fixed Lua stack size



details:   https://anonhg.NetBSD.org/src/rev/96afe2ea074f
branches:  trunk
changeset: 334666:96afe2ea074f
user:      lneto <lneto%NetBSD.org@localhost>
date:      Sun Nov 30 19:00:46 2014 +0000

description:
lua(4): fixed Lua stack size

diffstat:

 external/mit/lua/dist/src/luaconf.h |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (42 lines):

diff -r 6359c3f244cc -r 96afe2ea074f external/mit/lua/dist/src/luaconf.h
--- a/external/mit/lua/dist/src/luaconf.h       Sun Nov 30 18:15:41 2014 +0000
+++ b/external/mit/lua/dist/src/luaconf.h       Sun Nov 30 19:00:46 2014 +0000
@@ -1,7 +1,7 @@
-/*     $NetBSD: luaconf.h,v 1.9 2014/07/19 18:38:34 lneto Exp $        */
+/*     $NetBSD: luaconf.h,v 1.10 2014/11/30 19:00:46 lneto Exp $       */
 
 /*
-** $Id: luaconf.h,v 1.9 2014/07/19 18:38:34 lneto Exp $
+** $Id: luaconf.h,v 1.10 2014/11/30 19:00:46 lneto Exp $
 ** Configuration file for Lua
 ** See Copyright Notice in lua.h
 */
@@ -13,6 +13,10 @@
 #ifndef _KERNEL
 #include <limits.h>
 #include <stddef.h>
+#else
+/* limits.h */
+#include <machine/limits.h>
+#include <sys/systm.h>
 #endif
 
 
@@ -696,7 +700,6 @@
 #ifndef _KERNEL
 #include <stdint.h>
 #else
-#include <sys/systm.h>
 
 #undef LUA_NUMBER
 #undef LUA_NUMBER_FMT
@@ -723,9 +726,6 @@
 #define BUFSIZ                 (1024)
 #define sprintf(s,fmt,...)     snprintf(s, sizeof(s), fmt, __VA_ARGS__)
 
-/* limits.h */
-#include <machine/limits.h>
-
 /* string.h */
 #define strcoll strcmp
 



Home | Main Index | Thread Index | Old Index