vcpkg/ports/cairo/mingw-dllexport.patch
Kai Pastor 4f0bb16fcd
[cairo] Fix mingw-dynamic builds (#25606)
* Fix mingw-dynamic builds

* Trim portfile

* Update versions
2022-07-07 14:15:53 -07:00

14 lines
246 B
Diff

diff --git a/src/cairoint.h b/src/cairoint.h
index cfa77dd..fbc0776 100644
--- a/src/cairoint.h
+++ b/src/cairoint.h
@@ -48,7 +48,7 @@
#include "config.h"
-#ifdef _MSC_VER
+#ifdef _WIN32
#define cairo_public __declspec(dllexport)
#endif