Skip to content

Commit

Permalink
Make checks for <version> C++ specific.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzmaddock committed Feb 24, 2022
1 parent 6d01556 commit 08dced5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/boost/config/detail/suffix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ namespace std{ using ::type_info; }
#endif
#endif

#ifdef __has_include
#if defined(__cplusplus) && defined(__has_include)
#if !__has_include(<version>)
# define BOOST_NO_CXX20_HDR_VERSION
#else
Expand Down
2 changes: 1 addition & 1 deletion include/boost/config/stdlib/libcpp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
# define BOOST_NO_CXX98_BINDERS
#endif

#ifdef __has_include
#if defined(__cplusplus) && defined(__has_include)
#if __has_include(<version>)
#include <version>

Expand Down

0 comments on commit 08dced5

Please sign in to comment.