Some time ago I posted this patch http://www.cygwin.com/ml/libffi-discuss/2011/msg00024.html but got no replies. Pinging with a new subject to try again. Cheers, Rafael