aboutsummaryrefslogtreecommitdiff
path: root/promise.hpp
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-02-03 20:31:00 -0500
committerDeterminant <[email protected]>2018-02-03 20:36:46 -0500
commitbec4e0953178423e9b01615975ad8335a663ce74 (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>