mirror of
https://github.com/boostorg/config.git
synced 2025-08-01 05:14:28 +02:00
Correct use of __has_include in suffix.hpp.
This commit is contained in:
@@ -1024,8 +1024,12 @@ namespace std{ using ::type_info; }
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// This is a catch all case for obsolete compilers / std libs:
|
// This is a catch all case for obsolete compilers / std libs:
|
||||||
#if !defined(__has_include) || !__has_include(<optional>)
|
#if !defined(__has_include)
|
||||||
# define BOOST_NO_CXX17_HDR_OPTIONAL
|
# define BOOST_NO_CXX17_HDR_OPTIONAL
|
||||||
|
#else
|
||||||
|
#if !__has_include(<optional>)
|
||||||
|
# define BOOST_NO_CXX17_HDR_OPTIONAL
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user