diff options
author | Derek Mauro <dmauro@google.com> | 2022-05-25 13:50:51 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-05-25 13:51:46 -0700 |
commit | 4bb6a0e045c211576c7066e7862ae212e8333639 (patch) | |
tree | 56c2e1f7c1c8f35e1340fdf7c4c82104b031eaf0 | |
parent | 1963f10ae5cb32a7ea6d96b928f69d3c7fba0139 (diff) |
Fix detection of ABSL_HAVE_ELF_MEM_IMAGE on Haiku
Fixes #1181
ORIGINAL_AUTHOR=jerome.duval@gmail.com
PiperOrigin-RevId: 451006334
Change-Id: Id61e5889fb55594d09e92e7bb98fdf8bfbc13cc4
-rw-r--r-- | absl/debugging/internal/elf_mem_image.h | 5 |
1 files 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 |