Commit 7454d2f
fix: Lua 5.4 removed LUA_GCSETPAUSE and LUA_GCSETSTEPMUL
These GC option constants were removed in Lua 5.4 (replaced by
LUA_GCGEN/LUA_GCINC). Use #ifdef guards for all version-specific
GC constants to support both Lua 5.3 and 5.4.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2cf3c2b commit 7454d2f
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
102 | 103 | | |
| 104 | + | |
| 105 | + | |
103 | 106 | | |
| 107 | + | |
104 | 108 | | |
| 109 | + | |
105 | 110 | | |
| 111 | + | |
| 112 | + | |
106 | 113 | | |
| 114 | + | |
107 | 115 | | |
108 | 116 | | |
109 | 117 | | |
| |||
0 commit comments