summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/cmacexp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/cmacexp.el b/lisp/progmodes/cmacexp.el
index 2e8b2bc9006..28d988961a6 100644
--- a/lisp/progmodes/cmacexp.el
+++ b/lisp/progmodes/cmacexp.el
@@ -118,7 +118,7 @@
(file-exists-p "/opt/SUNWspro/SC3.0.1/bin/acomp"))
"/opt/SUNWspro/SC3.0.1/bin/acomp -C -E")
((file-exists-p "/usr/ccs/lib/cpp") "/usr/ccs/lib/cpp -C")
- ((eq system-type 'darwin) "cpp -C")
+ ((memq system-type '(darwin berkeley-unix)) "gcc -E -C -")
(t "/lib/cpp -C"))
"The preprocessor used by the cmacexp package.