diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2005-05-04 20:44:54 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2005-05-04 20:44:54 +0000 |
commit | cb3619679085d0c69cecfed60c0763da3a3af9a6 (patch) | |
tree | 91561c9e29ff527cb66b77de163a04b843e760b9 | |
parent | 4c192d5a24487dfb14972dcd9531d5da9eb16823 (diff) | |
download | emacs-cb3619679085d0c69cecfed60c0763da3a3af9a6.tar.gz |
(c-macro-preprocessor): Update for BSD and
use gcc instead of cpp.
-rw-r--r-- | lisp/progmodes/cmacexp.el | 2 |
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. |