]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rocksdb/third-party/folly/folly/Portability.h
import quincy beta 17.1.0
[ceph.git] / ceph / src / rocksdb / third-party / folly / folly / Portability.h
index 61c05ff2254a3243fa552e2ebb3248c7d6fff465..93a4e41a59a8d4d5ec21726d48c1dd82ce6c2ff0 100644 (file)
@@ -82,3 +82,11 @@ constexpr bool kIsSanitizeThread = true;
 constexpr bool kIsSanitizeThread = false;
 #endif
 } // namespace folly
+
+namespace folly {
+#if defined(__linux__) && !FOLLY_MOBILE
+constexpr auto kIsLinux = true;
+#else
+constexpr auto kIsLinux = false;
+#endif
+} // namespace folly