Commit ad7bdb31 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Define support macro in all branches

Summary: [Folly] Define support macro in all branches v.s. as a fallback for style.

Differential Revision: D18900489

fbshipit-source-id: 9f9cb3c70889c8d6800070221bd8fe9ce091745c
parent 4427c1a8
...@@ -504,12 +504,13 @@ constexpr auto kCpplibVer = 0; ...@@ -504,12 +504,13 @@ constexpr auto kCpplibVer = 0;
#elif _MSC_VER && _RESUMABLE_FUNCTIONS_SUPPORTED #elif _MSC_VER && _RESUMABLE_FUNCTIONS_SUPPORTED
// NOTE: MSVC 2017 does not currently support the full Coroutines TS since it // NOTE: MSVC 2017 does not currently support the full Coroutines TS since it
// does not yet support symmetric-transfer. // does not yet support symmetric-transfer.
#endif #define FOLLY_HAS_COROUTINES 0
#endif // __cplusplus >= 201703L #else
#ifndef FOLLY_HAS_COROUTINES
#define FOLLY_HAS_COROUTINES 0 #define FOLLY_HAS_COROUTINES 0
#endif #endif
#else
#define FOLLY_HAS_COROUTINES 0
#endif // __cplusplus >= 201703L
// MSVC 2017.5 && C++17 // MSVC 2017.5 && C++17
#if __cpp_noexcept_function_type >= 201510 || \ #if __cpp_noexcept_function_type >= 201510 || \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment