Commit 508c68fa authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

c++11 detection updated

parent 0a396e07
......@@ -37,11 +37,13 @@
#define OPENMODE std::ios::open_mode
#endif
#include <boost/config.hpp>
// TODO: better c++11 test!
#if (defined BOOST_NO_CXX11_OVERRIDE) || __cplusplus <= 199711L || ((defined _MSC_VER) && _MSC_VER < 1100)
#define override
#endif
#if (defined BOOST_NO_CXX11_NULLPTR) || __cplusplus <= 199711L
#if (defined BOOST_NO_CXX11_NULLPTR) // || __cplusplus <= 199711L
#define nullptr NULL
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment