Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!wuarchive!dogie.macc.wisc.edu!vms.macc.wisc.edu From: thomson@vms.macc.wisc.edu (Don Thomson, MACC) Newsgroups: comp.lang.c Subject: Preprocessing #ifdef but not #define Message-ID: <4769@dogie.macc.wisc.edu> Date: 20 Nov 90 13:20:55 GMT Sender: news@dogie.macc.wisc.edu Distribution: usa Organization: University of Wisconsin Academic Computing Center Lines: 10 I'm sorting through C code loaded with #ifdef statements for portability. I'd like to strip the code down to a version that applies to my operating system and configuration so that I can read through it but don't want to preprocess all the #define statements, as I'd like to see the #define mnemonics in the stripped down code. I don't see any options for the C preprocessor that will allow me to preprocess #ifdef's but not #define's. Is there an easy way to do this? ----- Don Thomson ----- MACC, 1210 W. Dayton, Madison, WI 53706 ------------- (608) 262-0138 thomson@macc.wisc.edu / thomson@wiscmacc.bitnet