summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hints/darwin.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh
index 8625798d53..eff32f4d5b 100644
--- a/hints/darwin.sh
+++ b/hints/darwin.sh
@@ -41,6 +41,9 @@ optimize='-O3';
# We have a prototype for telldir.
ccflags="${ccflags} -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE";
+# For Errno.
+cppflags='-traditional-cpp';
+
# Shared library extension is .dylib.
# Bundle extension is .bundle.
ld='cc';
@@ -61,3 +64,4 @@ usevfork='true';
# malloc works
usemymalloc='n';
+