windows-amd64-prebuilt-libr.../vcpkg/ports/cairo/0001_fix_osx_defined.patch
2020-10-10 14:36:42 +02:00

14 lines
292 B
Diff

diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c
index 3b308757..36700ff0 100644
--- a/src/cairo-ft-font.c
+++ b/src/cairo-ft-font.c
@@ -67,7 +67,7 @@
#include FT_LCD_FILTER_H
#endif
-#if HAVE_UNISTD_H
+#if defined(HAVE_UNISTD_H)
#include <unistd.h>
#else
#define access(p, m) 0