summaryrefslogtreecommitdiff
path: root/gprof/gprof.h
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/gprof.h')
-rw-r--r--gprof/gprof.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gprof/gprof.h b/gprof/gprof.h
index 983f0ac283..fdf9a28e4a 100644
--- a/gprof/gprof.h
+++ b/gprof/gprof.h
@@ -55,6 +55,12 @@
# include <locale.h>
#endif
+#ifdef ENABLE_NLS
+/* Undefine BFD's `_' macro - it uses dgetext() and we want to use gettext(). */
+#undef _
+#define _(String) gettext (String)
+#endif
+
#include "bin-bugs.h"
/*