diff options
Diffstat (limited to 'llimits.h')
-rw-r--r-- | llimits.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llimits.h,v 1.69 2005/12/27 17:12:00 roberto Exp roberto $ | 2 | ** $Id: llimits.h,v 1.70 2006/09/11 14:07:24 roberto Exp roberto $ |
3 | ** Limits, basic types, and some other `installation-dependent' definitions | 3 | ** Limits, basic types, and some other `installation-dependent' definitions |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -120,9 +120,10 @@ typedef lu_int32 Instruction; | |||
120 | ** macro to control inclusion of some hard tests on stack reallocation | 120 | ** macro to control inclusion of some hard tests on stack reallocation |
121 | */ | 121 | */ |
122 | #ifndef HARDSTACKTESTS | 122 | #ifndef HARDSTACKTESTS |
123 | #define condhardstacktests(x) ((void)0) | 123 | #define condmovestack(L) ((void)0) |
124 | #else | 124 | #else |
125 | #define condhardstacktests(x) x | 125 | #define condmovestack(L) /* realloc stack keeping its size */ \ |
126 | luaD_reallocstack((L), (L)->stacksize - EXTRA_STACK - 1) | ||
126 | #endif | 127 | #endif |
127 | 128 | ||
128 | #endif | 129 | #endif |