How do I configure Visual Studio 2005 to use #ifdef _MSC_VER?

I'm trying to use the _MSC_VER macro in a Visual Studio 2005.NET C ++ project, but I can't use #ifdef _MSC_VER. Does anyone know how to set up a Visual Studio 2005 project to be able to use this macro?

0


a source to share


1 answer


It is described as a predefined macro here . I use it like this:



#if _MSC_VER >= 1400

      

+2


a source







All Articles