I am trying to use the _MSC_VER macro in a Visual Studio 2005.NET C++ project, but am unable to use #ifdef _MSC_VER. Does anyone know how to setup a Visual Studio 2005 project to be able to use this macro?
+2
A:
It is documented as a predefined macro here. I use it like this:
#if _MSC_VER >= 1400
sean e
2009-05-21 20:20:57