marcomaggi / vicare

A native compiler for Scheme compliant with R6RS
http://marcomaggi.github.com/vicare.html
Other
200 stars 34 forks source link

Build fails when HAVE_LIBFFI is not defined. #31

Closed ghost closed 12 years ago

ghost commented 12 years ago

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.

marcomaggi commented 12 years ago

Thanks for the report. It should be fixed in release 0.2d9.