+#ifndef LISP_FEATURE_SB_THREAD
+#if defined(LISP_FEATURE_X86) || defined(LISP_FEATURE_X86_64)
+ /* KLUDGE: x86oids always think they're in lisp code. See the
+ * comment at the bottom of
+ * interrupt.c/fake_foreign_function_call() and the lack of any
+ * access to foreign_function_call_active or the corresponding
+ * thread slot in x86{,-64}-assem.S. */
+ foreign_function_call_active = 0;
+#else