better support for 64-bit machines

This commit is contained in:
Roberto Ierusalimschy
2004-11-24 16:55:56 -02:00
parent 087df82a61
commit 2f82bf6fe9
4 changed files with 46 additions and 39 deletions

4
lapi.c
View File

@@ -1,5 +1,5 @@
/*
** $Id: lapi.c,v 2.18 2004/08/30 13:44:44 roberto Exp roberto $
** $Id: lapi.c,v 2.19 2004/09/15 20:39:42 roberto Exp roberto $
** Lua API
** See Copyright Notice in lua.h
*/
@@ -842,7 +842,7 @@ LUA_API int lua_gc (lua_State *L, int what, int data) {
g = G(L);
switch (what) {
case LUA_GCSTOP: {
g->GCthreshold = MAXLMEM;
g->GCthreshold = MAX_LUMEM;
break;
}
case LUA_GCRESTART: {