Skip to content

Commit ddb842f

Browse files
authored
Initial support for Haiku (abseil#1045)
This provides the baseline needed to build Abseil on Haiku systems.
1 parent a2f52e1 commit ddb842f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

absl/base/config.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,8 @@ static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != 'h' ||
413413
#elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || \
414414
defined(_AIX) || defined(__ros__) || defined(__native_client__) || \
415415
defined(__asmjs__) || defined(__wasm__) || defined(__Fuchsia__) || \
416-
defined(__sun) || defined(__ASYLO__) || defined(__myriad2__)
416+
defined(__sun) || defined(__ASYLO__) || defined(__myriad2__) || \
417+
defined(__HAIKU__)
417418
#define ABSL_HAVE_MMAP 1
418419
#endif
419420

0 commit comments

Comments
 (0)