Add ffs() to porting library, needed by MinGW.

7 files changed