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

kGlibcxxVer, from _GLIBCXX_RELEASE

Summary: [Folly] `kGlibcxxVer`, from `_GLIBCXX_RELEASE` if available.

Differential Revision: D15209042

fbshipit-source-id: 077e94db623f33ebc3ec2cb93a5d7774d384a863
parent 02f942e3
...@@ -417,6 +417,12 @@ constexpr auto kIsGlibcxx = true; ...@@ -417,6 +417,12 @@ constexpr auto kIsGlibcxx = true;
constexpr auto kIsGlibcxx = false; constexpr auto kIsGlibcxx = false;
#endif #endif
#if __GLIBCXX__ && _GLIBCXX_RELEASE // major version, 7+
constexpr auto kGlibcxxVer = _GLIBCXX_RELEASE;
#else
constexpr auto kGlibcxxVer = 0;
#endif
#if _LIBCPP_VERSION #if _LIBCPP_VERSION
constexpr auto kIsLibcpp = true; constexpr auto kIsLibcpp = true;
#else #else
......
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