From 7dade1410b1475b82beeea746c1eaff0723671f3 Mon Sep 17 00:00:00 2001
From: hanya <hanya.runo@gmail.com>
Date: Tue, 10 Aug 2021 18:06:18 +0900
Subject: [PATCH] Support mmap on Haiku

---
 src/third_party/abseil-cpp/absl/base/config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/third_party/abseil-cpp/absl/base/config.h b/src/third_party/abseil-cpp/absl/base/config.h
index 9544996..f878679 100644
--- a/src/third_party/abseil-cpp/absl/base/config.h
+++ b/src/third_party/abseil-cpp/absl/base/config.h
@@ -372,7 +372,7 @@ static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != 'h' ||
 #elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) ||   \
     defined(__ros__) || defined(__native_client__) || defined(__asmjs__) || \
     defined(__wasm__) || defined(__Fuchsia__) || defined(__sun) || \
-    defined(__ASYLO__) || defined(__myriad2__)
+    defined(__ASYLO__) || defined(__myriad2__) || defined(__HAIKU__)
 #define ABSL_HAVE_MMAP 1
 #endif
 
-- 
2.30.2

