Revert the changes in base.h

This commit is contained in:
YexuanXiao 2024-12-23 09:44:01 +08:00
parent 98304076b0
commit 62b3ade524

View File

@ -46,11 +46,6 @@
#else
# define FMT_MSC_VERSION 0
#endif
#ifdef _MSVC_LANG
# define FMT_CPLUSPLUS _MSVC_LANG
#else
# define FMT_CPLUSPLUS __cplusplus
#endif
// Detect standard library versions.
#ifdef _GLIBCXX_RELEASE
@ -64,6 +59,12 @@
# define FMT_LIBCPP_VERSION 0
#endif
#ifdef _MSVC_LANG
# define FMT_CPLUSPLUS _MSVC_LANG
#else
# define FMT_CPLUSPLUS __cplusplus
#endif
// Detect __has_*.
#ifdef __has_feature
# define FMT_HAS_FEATURE(x) __has_feature(x)