diff options
author | Mike Pall <mike> | 2012-06-08 11:57:44 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-06-08 11:59:23 +0200 |
commit | fad5382d2179fa17b855cd3fbf1e8de508a4b2ae (patch) | |
tree | c371ae205b19f40650069594357d710a2dab3fdb /src/lj_errmsg.h | |
parent | 1543b2a7cabee0cab56c6d1196576331521f6cfc (diff) | |
download | luajit-fad5382d2179fa17b855cd3fbf1e8de508a4b2ae.tar.gz luajit-fad5382d2179fa17b855cd3fbf1e8de508a4b2ae.tar.bz2 luajit-fad5382d2179fa17b855cd3fbf1e8de508a4b2ae.zip |
Rearrange OSX vs. iOS defines. Disable callbacks on iOS.
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 |