#include <cairo-win32.h>
static const cairo_user_data_key_t win32_closure_key;
+--- cairo-1.14.12/src/cairo-compiler-private.h.orig 2017-12-04 23:24:46.000000000 +0100
++++ cairo-1.14.12/src/cairo-compiler-private.h 2018-09-27 21:39:54.869047194 +0200
+@@ -195,7 +195,7 @@
+ #define __attribute__(x)
+ #endif
+
+-#if (defined(__WIN32__) && !defined(__WINE__)) || defined(_MSC_VER)
++#if (defined(__WIN32__) && !defined(__WINE__) && !defined(__MINGW32__)) || defined(_MSC_VER)
+ #define access _access
+ #define fdopen _fdopen
+ #define hypot _hypot
%define realname cairo
Name: crossmingw32-%{realname}
Version: 1.14.12
-Release: 1
+Release: 2
License: LGPL v2.1 or MPL v1.1
Group: Development/Libraries
Source0: https://www.cairographics.org/releases/%{realname}-%{version}.tar.xz