summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-04-05 13:03:04 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-04-05 13:03:04 +0000
commit2ece6c116c30837778f908504e30526eeb0ade40 (patch)
treeaf68ac93033b51a27c0feda0f8f850c2e468a653
parentee1e7ac249666c732bf5c618ad0bc23c4e374bb7 (diff)
downloadperl-2ece6c116c30837778f908504e30526eeb0ade40.tar.gz
Be traditional in your cpp (for the Errno extension).
p4raw-id: //depot/perl@9559
-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';
+