aboutsummaryrefslogtreecommitdiff
path: root/promise.hpp
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2018-02-03 20:31:00 -0500
committerDeterminant <ted.sybil@gmail.com>2018-02-03 20:51:57 -0500
commit767fa96c078de01438194fa8e46aa936cd037836 (patch)
tree63fd231d60793665f6d1877d8779b1bb7df27b12 /promise.hpp
parent7fd1e7b5298d1c7a115019d6d6b61d3d7224f04a (diff)
...
Diffstat (limited to 'promise.hpp')
-rw-r--r--promise.hpp2
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>