diff options
Diffstat (limited to 'promise.hpp')
-rw-r--r-- | promise.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/promise.hpp b/promise.hpp index 1173e87..ae77c43 100644 --- a/promise.hpp +++ b/promise.hpp @@ -29,6 +29,7 @@ #include <functional> #include <type_traits> +#if __cplusplus >= 201703L #ifdef __has_include # if __has_include(<any>) # include <any> @@ -37,6 +38,7 @@ # endif # endif #endif +#endif #ifndef _CPPROMISE_STD_ANY #include <boost/any.hpp> |