summaryrefslogtreecommitdiff
path: root/llimits.h
diff options
context:
space:
mode:
Diffstat (limited to 'llimits.h')
-rw-r--r--llimits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llimits.h b/llimits.h
index 6c56ba5a..52a32f92 100644
--- a/llimits.h
+++ b/llimits.h
@@ -361,7 +361,7 @@ typedef l_uint32 Instruction;
#define condchangemem(L,pre,pos) ((void)0)
#else
#define condchangemem(L,pre,pos) \
- { if (G(L)->gcrunning) { pre; luaC_fullgc(L, 0); pos; } }
+ { if (gcrunning(G(L))) { pre; luaC_fullgc(L, 0); pos; } }
#endif
#endif