use nullptr in MSVC from 2005+

(based on PR #307 - thanks alex85k)
This commit is contained in:
Phil Nash 2014-09-02 08:30:57 +01:00
parent 341a9c4443
commit 3eefa7f537

View File

@ -84,6 +84,10 @@
//#define CATCH_CONFIG_SFINAE // Not confirmed
#endif
#if (_MSC_VER >= 1400)
#define CATCH_CONFIG_CPP11_NULLPTR
#endif
#endif // _MSC_VER
// Use variadic macros if the compiler supports them