Skip to content

Commit

Permalink
Fixing "'macro' is not defined" warning, when using clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
Sackzement authored and serge-sans-paille committed Jun 2, 2024
1 parent 292a811 commit 06bee53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/frozen/bits/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@
#define FROZEN_LETITGO_HAS_CHAR8T
#endif

#if __cpp_deduction_guides >= 201703L
#if defined(__cpp_deduction_guides) && __cpp_deduction_guides >= 201703L
#define FROZEN_LETITGO_HAS_DEDUCTION_GUIDES
#endif

#if __cpp_lib_constexpr_string >= 201907L
#if defined(__cpp_lib_constexpr_string) && __cpp_lib_constexpr_string >= 201907L
#define FROZEN_LETITGO_HAS_CONSTEXPR_STRING
#endif

Expand Down

0 comments on commit 06bee53

Please sign in to comment.