Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!aquifer.las.uiuc.edu!jeffb From: jeffb@aquifer.las.uiuc.edu (Jeffrey Biesiadecki) Newsgroups: comp.lang.c Subject: Re: Ansi cpp question Message-ID: <1990Oct6.213743.26675@ux1.cso.uiuc.edu> Date: 6 Oct 90 21:37:43 GMT References: Sender: news@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 18 asherman@dino.ulowell.edu (Aaron Sherman) writes: >I've heard that Ansi supports cpp directives that are NOT at the beginning >of a line. How prevelant is this? Do most implimentations these support this >ANSIism? I've seen compilers on mainframes that will not accept white space before the #... A safer way to indent cpp directives is to have white space after the #, like: #ifdef TOPLEVEL # define EXTERN /* nothing */ #else # define EXTERN extern #endif Jeff Biesiadecki (jeffb@aquifer.las.uiuc.edu)