feat: workaround __cplusplus problem on MSVC

This commit is contained in:
ToruNiina
2021-12-17 22:29:57 +09:00
parent 40777070ad
commit 02fd8a577b
13 changed files with 71 additions and 32 deletions

View File

@@ -25,14 +25,6 @@
#ifndef TOML_FOR_MODERN_CPP
#define TOML_FOR_MODERN_CPP
#ifndef __cplusplus
# error "__cplusplus is not defined"
#endif
#if __cplusplus < 201103L && _MSC_VER < 1900
# error "toml11 requires C++11 or later."
#endif
#define TOML11_VERSION_MAJOR 3
#define TOML11_VERSION_MINOR 7
#define TOML11_VERSION_PATCH 0