Skip to content

Commit 2ece6c1

Browse files
committed
Be traditional in your cpp (for the Errno extension).
p4raw-id: //depot/perl@9559
1 parent ee1e7ac commit 2ece6c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hints/darwin.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ optimize='-O3';
4141
# We have a prototype for telldir.
4242
ccflags="${ccflags} -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE";
4343

44+
# For Errno.
45+
cppflags='-traditional-cpp';
46+
4447
# Shared library extension is .dylib.
4548
# Bundle extension is .bundle.
4649
ld='cc';
@@ -61,3 +64,4 @@ usevfork='true';
6164

6265
# malloc works
6366
usemymalloc='n';
67+

0 commit comments

Comments
 (0)