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
|