Skip to content
Snippets Groups Projects
Commit 01033dba authored by Christoph Cullmann's avatar Christoph Cullmann
Browse files

avoid use of undefined ABSL_HAVE_ELF_MEM_IMAGE

this avoids e.g. on macOS:

In file included from abseil-cpp/absl/debugging/internal/elf_mem_image.cc:18:
abseil-cpp/absl/debugging/internal/elf_mem_image.h:37:5: error: 'ABSL_HAVE_ELF_MEM_IMAGE' is not defined, evaluates to 0 [-Werror,-Wundef]
    ^
1 error generated.
parent 4adaf549
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@
#define ABSL_HAVE_ELF_MEM_IMAGE 1
#endif
#if ABSL_HAVE_ELF_MEM_IMAGE
#ifdef ABSL_HAVE_ELF_MEM_IMAGE
#include <link.h> // for ElfW
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment