Files
MINGW-packages/mingw-w64-cairo/0030-ucrt-clang-fixes.patch
Christoph Reiter d65b08ad0a cairo: remove librsvg dep, fix ucrt build
librsvg is only needed for tests which we don't build
gtk-doc isn't used in the meson port
2021-05-04 18:17:42 +02:00

12 lines
394 B
Diff

--- cairo-1.17.4/src/cairo-compiler-private.h.orig 2021-05-04 17:46:38.073000000 +0200
+++ cairo-1.17.4/src/cairo-compiler-private.h 2021-05-04 17:50:50.920604000 +0200
@@ -203,7 +203,7 @@
#define popen _popen
#define strdup _strdup
#define unlink _unlink
-#if _MSC_VER < 1900
+#if (defined(_MSC_VER) && _MSC_VER < 1900)
#define vsnprintf _vsnprintf
#define snprintf _snprintf
#endif