MSVC 2015 can compile C++11 code, but does not define __cplusplus

This commit is contained in:
Guillaume Fraux 2017-05-15 11:30:58 +02:00
parent 612119fa1e
commit fe1b96a259

View File

@ -29,7 +29,7 @@
# error "__cplusplus is not defined"
#endif
#if __cplusplus < 201103L
#if __cplusplus < 201103L && _MSC_VER < 1900
# error "toml11 requires C++11 or later."
#endif