From: J. Ali Harlow Date: Thu, 14 May 2009 04:51:05 +0000 (+0100) Subject: Take advantage of gcc's builtin implementation of ffs under mingw X-Git-Tag: 0.1~12 X-Git-Url: http://project.juiblex.co.uk/git/?a=commitdiff_plain;h=83577b758cd729572964ae48f8d44d1332dce08f;p=razor2.git%2F.git Take advantage of gcc's builtin implementation of ffs under mingw --- diff --git a/librazor/types/types.h b/librazor/types/types.h index f2a4699..8f8443a 100644 --- a/librazor/types/types.h +++ b/librazor/types/types.h @@ -24,6 +24,10 @@ #include #include +#ifdef __MINGW32__ +#define ffs __builtin_ffs +#endif + struct array { void *data; int size, alloc;