]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
libdwfl: Don't undef _
authorMark Wielaard <mark@klomp.org>
Wed, 21 Dec 2022 15:40:29 +0000 (16:40 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 21 Dec 2022 23:31:41 +0000 (00:31 +0100)
A couple of files undefined _, which is defined in lib/eu-config.h as
gettext helper macro. This seems unnecessary and arbitrary.

Signed-off-by: Mark Wielaard <mark@klomp.org>
libdwfl/ChangeLog
libdwfl/core-file.c
libdwfl/dwfl_segment_report_module.c
libdwfl/elf-from-memory.c
libdwfl/open.c

index 1b465e481f46edd80fbe0509b95eb435d6cce261..9cd2f03cabdc6e0c17ef53d3e9e463886b0c2911 100644 (file)
@@ -1,3 +1,10 @@
+2022-12-21  Mark Wielaard  <mark@klomp.org>
+
+       * core-file.c: Don't undef _.
+       * dwfl_segment_report_module.c: Likewise.
+       * elf-from-memory.c: Likewise.
+       * open.c: Likewise.
+
 2022-12-20  Mark Wielaard  <mark@klomp.org>
 
        * Makefile.am (AM_CPPFLAGS): debuginfod.h is in builddir.
index 1ddf0f187c4c2032609bc5b0cfbfe84cfd0fe9b7..87c940cb569d97cc6800044d51ddd72341bfdb70 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <config.h>
 #include "libelfP.h"   /* For NOTE_ALIGN.  */
-#undef _
 #include "libdwflP.h"
 #include <gelf.h>
 
index 41285103d31bc19e56a479ce34b5153c8c1fcae3..3ef62a7db47a139f34c9b9bacc5a7effa15b645b 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <config.h>
 #include "libelfP.h"   /* For NOTE_ALIGN4 and NOTE_ALIGN8.  */
-#undef _
 #include "libdwflP.h"
 #include "common.h"
 
index f7fb3ab75410c8e1afd141bd3a27ca4009a74d85..e9b330fd66df284cb9cd980fc5920c604e4c2c1e 100644 (file)
@@ -28,7 +28,6 @@
 
 #include <config.h>
 #include "libelfP.h"
-#undef _
 
 #include "libdwflP.h"
 
index 32bd7ff8e9767db80717eb24074f8a62c50b1c27..fcb7f8ea74d48a3988f8ca235ee1e8dfd213de7d 100644 (file)
@@ -32,7 +32,6 @@
 #endif
 
 #include "libelfP.h"
-#undef _
 #include "libdwflP.h"
 
 #if !USE_BZLIB