58 lines
1.2 KiB
Diff
58 lines
1.2 KiB
Diff
diff --git libasm/libasmP.h libasm/libasmP.h
|
|
index 49b6484..18e4831 100644
|
|
--- libasm/libasmP.h
|
|
+++ libasm/libasmP.h
|
|
@@ -33,6 +33,9 @@
|
|
|
|
#include <libasm.h>
|
|
|
|
+#ifdef _ /* fix libintl-stub */
|
|
+#undef _
|
|
+#endif
|
|
/* gettext helper macros. */
|
|
#define _(Str) dgettext ("elfutils", Str)
|
|
|
|
diff --git libdw/libdwP.h libdw/libdwP.h
|
|
index 5ab7219..0a87cf4 100644
|
|
--- libdw/libdwP.h
|
|
+++ libdw/libdwP.h
|
|
@@ -36,7 +36,9 @@
|
|
#include <libdw.h>
|
|
#include <dwarf.h>
|
|
|
|
-
|
|
+#ifdef _ /* fix libintl-stub */
|
|
+#undef _
|
|
+#endif
|
|
/* gettext helper macros. */
|
|
#define _(Str) dgettext ("elfutils", Str)
|
|
|
|
diff --git libdwfl/libdwflP.h libdwfl/libdwflP.h
|
|
index 12ee116..f876eed 100644
|
|
--- libdwfl/libdwflP.h
|
|
+++ libdwfl/libdwflP.h
|
|
@@ -46,6 +46,9 @@
|
|
|
|
typedef struct Dwfl_Process Dwfl_Process;
|
|
|
|
+#ifdef _ /* fix libintl-stub */
|
|
+#undef _
|
|
+#endif
|
|
/* gettext helper macros. */
|
|
#define _(Str) dgettext ("elfutils", Str)
|
|
|
|
diff --git libelf/libelfP.h libelf/libelfP.h
|
|
index 52cf745..2029ebe 100644
|
|
--- libelf/libelfP.h
|
|
+++ libelf/libelfP.h
|
|
@@ -42,6 +42,9 @@
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
+#ifdef _ /* fix libintl-stub */
|
|
+#undef _
|
|
+#endif
|
|
/* gettext helper macros. */
|
|
#define _(Str) dgettext ("elfutils", Str)
|
|
|