summaryrefslogtreecommitdiff
path: root/absl/base/config.h
diff options
context:
space:
mode:
authorGravatar Jérôme Duval <jerome.duval@gmail.com>2021-10-21 22:01:48 +0200
committerGravatar GitHub <noreply@github.com>2021-10-21 16:01:48 -0400
commitddb842f583e560bbde497bc96cfebe25f9089e11 (patch)
treeb8b02a6e43b2b2ee28e3e4eedb5ccf7dc4f8cbe2 /absl/base/config.h
parenta2f52e1177b87bdc747f8d0b7745c8f967bceb9d (diff)
Initial support for Haiku (#1045)
This provides the baseline needed to build Abseil on Haiku systems.
Diffstat (limited to 'absl/base/config.h')
-rw-r--r--absl/base/config.h3
1 files changed, 2 insertions, 1 deletions
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