From cb3619679085d0c69cecfed60c0763da3a3af9a6 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Wed, 4 May 2005 20:44:54 +0000 Subject: [PATCH] (c-macro-preprocessor): Update for BSD and use gcc instead of cpp. --- lisp/progmodes/cmacexp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.2