summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-21 23:47:47 -0400
committerDavid Robillard <d@drobilla.net>2022-10-14 17:53:49 -0400
commit36e3327b032e64f19ba1c0e1dc06cb40b7b79d02 (patch)
tree913091c9bfb05c07f66a9eec875aab376c7f5637 /src
parent09cfa793d3e227807ed3d6a1a835c92af2f57311 (diff)
downloadzix-36e3327b032e64f19ba1c0e1dc06cb40b7b79d02.tar.gz
zix-36e3327b032e64f19ba1c0e1dc06cb40b7b79d02.tar.bz2
zix-36e3327b032e64f19ba1c0e1dc06cb40b7b79d02.zip
Fix fallback configuration on older MacOS versions
Diffstat (limited to 'src')
-rw-r--r--src/zix_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zix_config.h b/src/zix_config.h
index f4965f8..b1096a5 100644
--- a/src/zix_config.h
+++ b/src/zix_config.h
@@ -34,7 +34,7 @@
# if __has_include(<unistd.h>)
# include <unistd.h>
# endif
-# elif defined(__unix__)
+# elif defined(__APPLE__) || defined(__unix__)
# include <unistd.h>
# endif
# endif