[cffi-devel] darcs patch: Added check for FreeBSD and removed some redundant code.