Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!SSCVX1.SSC.GOV!ALLEN From: ALLEN@SSCVX1.SSC.GOV Newsgroups: gnu.g++ Subject: predefined macros Message-ID: <900209124736.20205279@SSCVX1.SSC.GOV> Date: 9 Feb 90 18:47:36 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 10 I want to use the same header file for both c and c++, so with cfront 1.2 I did "#ifdef c_plusplus". I am using g++-1.36.4 based on gcc-1.36.94, which defines __GNUG__, but not c_plusplus. Is there a better sol'n than cheking for __GNUG__ and putting off the problem of a different c++ compiler till I actually have a different c++ compiler? Thanks, allen@sscvx1.ssc.gov Michael Allen