mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 22:37:50 +08:00
5bbba1c92b
* [nvtt]Upgrade version to 2.1.1 and fix build error on windows. * [nvtt]Fix build error on OSX. * [nvtt]Merge two patches. * [nvtt]Re-trigger CI system. * [nvtt]Fix build error on OSX.
17 lines
376 B
Diff
17 lines
376 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
|