Skip to content

Commit

Permalink
check __cpp_lib_format
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Jan 4, 2025
1 parent 8a44b81 commit e297f7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/ada/common_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ namespace ada {
#define ada_lifetime_bound
#endif

#ifdef __has_include
#if __has_include(<format>)
#ifdef __cpp_lib_format
#if __cpp_lib_format >= 202110L
#include <format>
#define ADA_HAS_FORMAT 1
#endif
Expand Down

0 comments on commit e297f7c

Please sign in to comment.