[cairo-bugs] [Bug 30968] Cairo won't build on Win32 because there is no ffs function

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 18 10:32:03 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=30968

--- Comment #1 from Neil Roberts <neil at linux.intel.com> 2010-10-18 10:32:01 PDT ---
Created an attachment (id=39510)
 View: https://bugs.freedesktop.org/attachment.cgi?id=39510
 Review: https://bugs.freedesktop.org/review?bug=30968&attachment=39510

win32: Add a workaround for missing ffs on MinGW

On Windows it seems that msvcrt does not define an ffs function. There
is already a workaround for MSVC in cairo-compiler-private.h but this
does not help when compiling with MinGW. This patch adds an extra
check for when targetting Windows with GCC and makes it use
__builtin_ffs.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the cairo-bugs mailing list