This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Predefined macros?
- From: "Dave Williss" <dwilliss at microimages dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Tue, 17 Sep 2002 12:05:50 -0500
- Subject: Predefined macros?
Are there any predefined macro constants that I can use in ifdefs to
determine which version of gcc is doing the compiling?
I have some code which needs to compile one way if using gcc 3.1 or later
and another way if using 2.95.
-- Dave Williss
------
Meddle not in the affairs of dragons,
for you are crunchy and taste good with catsup