marcomaggi/vicare — Issue #31: Build fails when HAVE_LIBFFI is not defined.
Author: amusetti
Created: 2012-03-07 14:17:51+00:00
State: open

When libffi is not found, build fails because there are no dummy implementations for

ikptr ik_enter_c_function (ikpcb* pcb) { return false_object; }
void ik_leave_c_function (ikpcb* pcb,ikptr sk) { }

Add those dummy definitions under the #else part of #ifdef HAVE_LIBFFI in src/ikarus-ffi.c and it should build correctly.