projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
support using co_await with folly::Optional when it is available
[folly.git]
/
folly
/
Portability.h
diff --git
a/folly/Portability.h
b/folly/Portability.h
index a180bea41586d3185c8c3483d8b4456077dc4ad9..87be0b29af71e4091979e709c0209a0f473a0f48 100644
(file)
--- a/
folly/Portability.h
+++ b/
folly/Portability.h
@@
-425,3
+425,7
@@
constexpr auto kMscVer = 0;
#else
#define FOLLY_CPP14_CONSTEXPR inline
#endif
+
+#if __cpp_coroutines >= 201703L || _MSC_VER
+#define FOLLY_HAS_COROUTINES 1
+#endif