mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-22 14:48:09 +08:00
17 lines
392 B
Diff
17 lines
392 B
Diff
|
diff --git a/src/nvconfig.h.in b/src/nvconfig.h.in
|
||
|
index 16da646..ada6be0 100644
|
||
|
--- a/src/nvconfig.h.in
|
||
|
+++ b/src/nvconfig.h.in
|
||
|
@@ -1,7 +1,11 @@
|
||
|
#ifndef NV_CONFIG
|
||
|
#define NV_CONFIG
|
||
|
|
||
|
+#if NV_OS_DARWIN & !NV_OS_IOS
|
||
|
+#cmakedefine01 HAVE_UNISTD_H
|
||
|
+#else
|
||
|
#cmakedefine HAVE_UNISTD_H
|
||
|
+#endif
|
||
|
#cmakedefine HAVE_STDARG_H
|
||
|
#cmakedefine HAVE_SIGNAL_H
|
||
|
#cmakedefine HAVE_EXECINFO_H
|