Compiler macros with version

Schaible, Joerg
Wed May 5 07:00:00 GMT 1999

Hello out there!

Are there any predefined macros containing the version of the compiler e.g.
like _MSC_VER = 0x1200 for the MSVC6?

I am using the cygwin B20 suite and the EGCS 1.1.2 / Mingw32 port from Mumit

I suppose it may be __GNUC__ or __CYGWIN__, but which value do they have and
are there others (identifying egcs)?


Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list