diff options
Diffstat (limited to 'src/lj_errmsg.h')
-rw-r--r-- | src/lj_errmsg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lj_errmsg.h b/src/lj_errmsg.h index d1db4386..5ba619bf 100644 --- a/src/lj_errmsg.h +++ b/src/lj_errmsg.h | |||
@@ -162,7 +162,11 @@ ERRDEF(FFI_BADIDX, LUA_QS " cannot be indexed") | |||
162 | ERRDEF(FFI_WRCONST, "attempt to write to constant location") | 162 | ERRDEF(FFI_WRCONST, "attempt to write to constant location") |
163 | ERRDEF(FFI_NODECL, "missing declaration for symbol " LUA_QS) | 163 | ERRDEF(FFI_NODECL, "missing declaration for symbol " LUA_QS) |
164 | ERRDEF(FFI_BADCBACK, "bad callback") | 164 | ERRDEF(FFI_BADCBACK, "bad callback") |
165 | #if LJ_OS_NOJIT | ||
166 | ERRDEF(FFI_CBACKOV, "no support for callbacks on this OS") | ||
167 | #else | ||
165 | ERRDEF(FFI_CBACKOV, "too many callbacks") | 168 | ERRDEF(FFI_CBACKOV, "too many callbacks") |
169 | #endif | ||
166 | ERRDEF(FFI_NYIPACKBIT, "NYI: packed bit fields") | 170 | ERRDEF(FFI_NYIPACKBIT, "NYI: packed bit fields") |
167 | ERRDEF(FFI_NYICALL, "NYI: cannot call this C function (yet)") | 171 | ERRDEF(FFI_NYICALL, "NYI: cannot call this C function (yet)") |
168 | #endif | 172 | #endif |