these are changes from the libffi copy included in the python sources. ok for the trunk? please apply in libffi as well. Matthias