mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-12-16 03:08:52 +08:00
chore: apply 295 patch to re-run with new main
This commit is contained in:
@@ -448,13 +448,13 @@ using void_t = void;
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// (subset of) source_location
|
// (subset of) source_location
|
||||||
|
|
||||||
#if TOML11_CPLUSPLUS_STANDARD_VERSION >= 202002L
|
#if ! defined(TOML11_DISABLE_SOURCE_LOCATION) && TOML11_CPLUSPLUS_STANDARD_VERSION >= 202002L
|
||||||
# if __has_include(<source_location>)
|
# if __has_include(<source_location>)
|
||||||
# define TOML11_HAS_STD_SOURCE_LOCATION
|
# define TOML11_HAS_STD_SOURCE_LOCATION
|
||||||
# endif // has_include
|
# endif // has_include
|
||||||
#endif // c++20
|
#endif // c++20
|
||||||
|
|
||||||
#if ! defined(TOML11_HAS_STD_SOURCE_LOCATION)
|
#if ! defined(TOML11_DISABLE_SOURCE_LOCATION) && ! defined(TOML11_HAS_STD_SOURCE_LOCATION)
|
||||||
# if defined(__GNUC__) && ! defined(__clang__)
|
# if defined(__GNUC__) && ! defined(__clang__)
|
||||||
# if TOML11_CPLUSPLUS_STANDARD_VERSION >= TOML11_CXX14_VALUE
|
# if TOML11_CPLUSPLUS_STANDARD_VERSION >= TOML11_CXX14_VALUE
|
||||||
# if __has_include(<experimental/source_location>)
|
# if __has_include(<experimental/source_location>)
|
||||||
@@ -464,7 +464,7 @@ using void_t = void;
|
|||||||
# endif // GNU g++
|
# endif // GNU g++
|
||||||
#endif // not TOML11_HAS_STD_SOURCE_LOCATION
|
#endif // not TOML11_HAS_STD_SOURCE_LOCATION
|
||||||
|
|
||||||
#if ! defined(TOML11_HAS_STD_SOURCE_LOCATION) && ! defined(TOML11_HAS_EXPERIMENTAL_SOURCE_LOCATION)
|
#if ! defined(TOML11_DISABLE_SOURCE_LOCATION) && ! defined(TOML11_HAS_STD_SOURCE_LOCATION) && ! defined(TOML11_HAS_EXPERIMENTAL_SOURCE_LOCATION)
|
||||||
# if defined(__GNUC__) && ! defined(__clang__)
|
# if defined(__GNUC__) && ! defined(__clang__)
|
||||||
# if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 9))
|
# if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 9))
|
||||||
# define TOML11_HAS_BUILTIN_FILE_LINE 1
|
# define TOML11_HAS_BUILTIN_FILE_LINE 1
|
||||||
|
|||||||
Reference in New Issue
Block a user