summaryrefslogtreecommitdiff
path: root/hints/darwin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/darwin.sh')
-rw-r--r--hints/darwin.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh
index 748a67f1bd..affa83cecd 100644
--- a/hints/darwin.sh
+++ b/hints/darwin.sh
@@ -71,7 +71,10 @@ esac
# -pipe: makes compilation go faster.
# -fno-common because common symbols are not allowed in MH_DYLIB
-ccflags="${ccflags} -pipe -fno-common"
+# -DDARWIN: apparently the __APPLE__ is not sanctioned by Apple
+# as the way to differentiate Mac OS X. (The official line is that
+# *no* cpp symbol does differentiate Mac OS X.)
+ccflags="${ccflags} -pipe -fno-common -DDARWIN"
# At least on Darwin 1.3.x:
#