From f067e7fbaf71eb483ced6f4728ca2b0ddd72e4b0 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 1 Jun 2000 00:11:31 +0000 Subject: [PATCH] undo repvious delta --- gprof/ChangeLog | 5 +++++ gprof/gprof.h | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 85d1416d6fd..caba759b8f1 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,8 @@ +2000-05-31 Nick Clifton + + * gprof.h (_): Revert previous delta. We want to use gettext, + not dgettext in the _ macro. + 2000-05-29 Alan Modra * gprof.h (_): Use BFD version. diff --git a/gprof/gprof.h b/gprof/gprof.h index 983f0ac283b..fdf9a28e4ac 100644 --- a/gprof/gprof.h +++ b/gprof/gprof.h @@ -55,6 +55,12 @@ # include #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" /* -- 2.30.2