From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 14 Jul 2009 12:23:53 +0200 Message-ID: <3BBB12CF4EFF4040B38542759379E3CD0278DF@XMAIL.asuch.cas.cz> From: To: <9fans@cse.psu.edu> Subject: [9fans] preprocessing C code Topicbox-Message-UUID: 1ee29784-ead5-11e9-9d60-3106f5b1d025 Hi all, I'm APE-porting some programs densely peppered wioth #-directives. Is = there a way to preprocess the code, say: #define CLIENTSERVER 0 #if CLIENTSERVER blah blah blah... #else //some useful code here #endif /*CLIENTSERVER*/ to get: //some useful code here ?? I mean, just to extract the relevant portions of code under #defined = conditions. Thanks, ++pac.