aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/cmacexp.el
diff options
context:
space:
mode:
authorNick Roberts <[email protected]>2005-05-04 20:44:54 +0000
committerNick Roberts <[email protected]>2005-05-04 20:44:54 +0000
commitcb3619679085d0c69cecfed60c0763da3a3af9a6 (patch)
tree91561c9e29ff527cb66b77de163a04b843e760b9 /lisp/progmodes/cmacexp.el
parent4c192d5a24487dfb14972dcd9531d5da9eb16823 (diff)
(c-macro-preprocessor): Update for BSD and
use gcc instead of cpp.
Diffstat (limited to 'lisp/progmodes/cmacexp.el')
-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 2e8b2bc900..28d988961a 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.