Commit 52561279 authored by Alexander Sklar's avatar Alexander Sklar Committed by Facebook GitHub Bot

<bit> produces warnings when building with C++17/13/11/... (#1455)

Summary:
Constant from: http://eel.is/c++draft/cpp.predefined#1.1

Fixes https://github.com/facebook/folly/issues/1454

Pull Request resolved: https://github.com/facebook/folly/pull/1455

Reviewed By: yfeldblum

Differential Revision: D23702274

Pulled By: Orvid

fbshipit-source-id: a08f922cc11c086362b91c93922b59c9a5c62e51
parent a590a0e5
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
#include <folly/lang/Assume.h> #include <folly/lang/Assume.h>
#include <folly/portability/Builtins.h> #include <folly/portability/Builtins.h>
#if __has_include(<bit>) #if __has_include(<bit>) && __cplusplus >= 202002L
#include <bit> #include <bit>
#endif #endif
......
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