开发者

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

开发者 https://www.devze.com 2023-01-20 10:44 出处:网络
I hope for开发者_StackOverflow社区 using any predefined macro like _MSC_BUILD (from vs2008) because I want to use revision number of compiler.

I hope for开发者_StackOverflow社区 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.


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消