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