mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 04:19:00 +08:00
16 lines
434 B
Diff
16 lines
434 B
Diff
|
diff --git a/podofo_config.h.in b/podofo_config.h.in
|
||
|
index fea9ada..a813c7b 100644
|
||
|
--- a/podofo_config.h.in
|
||
|
+++ b/podofo_config.h.in
|
||
|
@@ -59,3 +59,10 @@
|
||
|
#cmakedefine PODOFO_HAVE_OPENSSL_NO_RC4
|
||
|
#cmakedefine PODOFO_HAVE_LIBIDN
|
||
|
#cmakedefine PODOFO_HAVE_UNISTRING_LIB
|
||
|
+
|
||
|
+/* Fix build for MacOS 10.13 */
|
||
|
+#if defined(__APPLE__) && !defined(__IOS__)
|
||
|
+#cmakedefine01 HAVE_UNISTD_H
|
||
|
+#else
|
||
|
+#cmakedefine HAVE_UNISTD_H
|
||
|
+#endif
|