aboutsummaryrefslogtreecommitdiff
path: root/src/lj_errmsg.h
diff options
context:
space:
mode:
authorMike Pall <mike>2012-06-08 11:57:44 +0200
committerMike Pall <mike>2012-06-08 11:59:23 +0200
commitfad5382d2179fa17b855cd3fbf1e8de508a4b2ae (patch)
treec371ae205b19f40650069594357d710a2dab3fdb /src/lj_errmsg.h
parent1543b2a7cabee0cab56c6d1196576331521f6cfc (diff)
downloadluajit-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.h4
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")
162ERRDEF(FFI_WRCONST, "attempt to write to constant location") 162ERRDEF(FFI_WRCONST, "attempt to write to constant location")
163ERRDEF(FFI_NODECL, "missing declaration for symbol " LUA_QS) 163ERRDEF(FFI_NODECL, "missing declaration for symbol " LUA_QS)
164ERRDEF(FFI_BADCBACK, "bad callback") 164ERRDEF(FFI_BADCBACK, "bad callback")
165#if LJ_OS_NOJIT
166ERRDEF(FFI_CBACKOV, "no support for callbacks on this OS")
167#else
165ERRDEF(FFI_CBACKOV, "too many callbacks") 168ERRDEF(FFI_CBACKOV, "too many callbacks")
169#endif
166ERRDEF(FFI_NYIPACKBIT, "NYI: packed bit fields") 170ERRDEF(FFI_NYIPACKBIT, "NYI: packed bit fields")
167ERRDEF(FFI_NYICALL, "NYI: cannot call this C function (yet)") 171ERRDEF(FFI_NYICALL, "NYI: cannot call this C function (yet)")
168#endif 172#endif