mingw-cairo/mingw32-cairo-fix-ffs-declaration.patch
Erik van Pienbroek 217b0c7e69 Update to 1.10.0
- Update to 1.10.0
- Added the GObject library
- Fixed a small rpmlint warning
2010-09-24 16:08:50 +02:00

14 lines
295 B
Diff

--- src/cairo.c.orig 2010-09-24 16:01:58.899988587 +0200
+++ src/cairo.c 2010-09-24 16:02:13.313170255 +0200
@@ -149,6 +149,10 @@
};
#include <assert.h>
+#ifdef __MINGW32__
+#define ffs __builtin_ffs
+#endif
+
/**
* _cairo_error:
* @status: a status value indicating an error, (eg. not