whiteapplecompany
whiteapplecompany

Reputation: 31

Is there any predefined macro like _MSC_BUILD(supported from vs2008) in visual studio 2005?

I hope for using any predefined macro like _MSC_BUILD (from vs2008) because I want to use revision number of compiler.

but i can't find that in vs2005.

thank you for your help.

Upvotes: 3

Views: 528

Answers (2)

Michael Goldshteyn
Michael Goldshteyn

Reputation: 74460

There were no (accessible) revision numbers in the days of VS2005, so sadly, no there isn't. See the following web site for a full list of available macros:

http://msdn.microsoft.com/en-us/library/b0084kay(VS.80).aspx

Upvotes: 0

heavyd
heavyd

Reputation: 17751

The predefined macros list for VS 2005 shows _MSC_VER for getting the compiler versions.

Upvotes: 1

Related Questions