Reputation: 31
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
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
Reputation: 17751
The predefined macros list for VS 2005 shows _MSC_VER
for getting the compiler versions.
Upvotes: 1