From ddb842f583e560bbde497bc96cfebe25f9089e11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Thu, 21 Oct 2021 22:01:48 +0200 Subject: [PATCH] Initial support for Haiku (#1045) This provides the baseline needed to build Abseil on Haiku systems. --- absl/base/config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/absl/base/config.h b/absl/base/config.h index 0562cddb..d3cad682 100644 --- a/absl/base/config.h +++ b/absl/base/config.h @@ -413,7 +413,8 @@ static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != 'h' || #elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || \ defined(_AIX) || defined(__ros__) || defined(__native_client__) || \ defined(__asmjs__) || defined(__wasm__) || defined(__Fuchsia__) || \ - defined(__sun) || defined(__ASYLO__) || defined(__myriad2__) + defined(__sun) || defined(__ASYLO__) || defined(__myriad2__) || \ + defined(__HAIKU__) #define ABSL_HAVE_MMAP 1 #endif