Skip to content

Commit

Permalink
Revert the changes in base.h
Browse files Browse the repository at this point in the history
  • Loading branch information
YexuanXiao committed Dec 23, 2024
1 parent 9830407 commit 62b3ade
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions include/fmt/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 62b3ade

Please sign in to comment.