From 4bb6a0e045c211576c7066e7862ae212e8333639 Mon Sep 17 00:00:00 2001 From: Derek Mauro Date: Wed, 25 May 2022 13:50:51 -0700 Subject: Fix detection of ABSL_HAVE_ELF_MEM_IMAGE on Haiku Fixes #1181 ORIGINAL_AUTHOR=jerome.duval@gmail.com PiperOrigin-RevId: 451006334 Change-Id: Id61e5889fb55594d09e92e7bb98fdf8bfbc13cc4 --- absl/debugging/internal/elf_mem_image.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/absl/debugging/internal/elf_mem_image.h b/absl/debugging/internal/elf_mem_image.h index e4bbf2d7..113071a9 100644 --- a/absl/debugging/internal/elf_mem_image.h +++ b/absl/debugging/internal/elf_mem_image.h @@ -31,8 +31,9 @@ #error ABSL_HAVE_ELF_MEM_IMAGE cannot be directly set #endif -#if defined(__ELF__) && !defined(__OpenBSD__) && !defined(__QNX__) && \ - !defined(__native_client__) && !defined(__asmjs__) && !defined(__wasm__) +#if defined(__ELF__) && !defined(__OpenBSD__) && !defined(__QNX__) && \ + !defined(__native_client__) && !defined(__asmjs__) && \ + !defined(__wasm__) && !defined(__HAIKU__) #define ABSL_HAVE_ELF_MEM_IMAGE 1 #endif -- cgit v1.2.3