From c7db1a3de0d51664fee60aef084fb7c422d53643 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Sat, 15 Jun 2024 22:35:16 +0900 Subject: [PATCH] fix: typo in macro definitions --- include/toml11/compat.hpp | 2 +- single_include/toml.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/toml11/compat.hpp b/include/toml11/compat.hpp index c649303..931dc9c 100644 --- a/include/toml11/compat.hpp +++ b/include/toml11/compat.hpp @@ -416,7 +416,7 @@ using return_type_of_t = typename std::result_of::type; # define TOML11_HAS_BUILTIN_FILE_LINE 1 # define TOML11_BUILTIN_LINE_TYPE unsigned int # endif -# elif defined(_MSVC_LANG) && defiend(_MSC_VER) +# elif defined(_MSVC_LANG) && defined(_MSC_VER) # if _MSC_VER > 1926 # define TOML11_HAS_BUILTIN_FILE_LINE 1 # define TOML11_BUILTIN_LINE_TYPE int diff --git a/single_include/toml.hpp b/single_include/toml.hpp index de8df4c..c5c8d7d 100644 --- a/single_include/toml.hpp +++ b/single_include/toml.hpp @@ -1872,7 +1872,7 @@ using return_type_of_t = typename std::result_of::type; # define TOML11_HAS_BUILTIN_FILE_LINE 1 # define TOML11_BUILTIN_LINE_TYPE unsigned int # endif -# elif defined(_MSVC_LANG) && defiend(_MSC_VER) +# elif defined(_MSVC_LANG) && defined(_MSC_VER) # if _MSC_VER > 1926 # define TOML11_HAS_BUILTIN_FILE_LINE 1 # define TOML11_BUILTIN_LINE_TYPE int