aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-06-01 00:11:31 +0000
committerNick Clifton <nickc@redhat.com>2000-06-01 00:11:31 +0000
commitf067e7fbaf71eb483ced6f4728ca2b0ddd72e4b0 (patch)
treef67f8523efb89973c430bfe44627e7fbbfc2e873 /gprof
parent139760b7f97999bfb188b23357bf0a0798b21706 (diff)
downloadgdb-f067e7fbaf71eb483ced6f4728ca2b0ddd72e4b0.zip
gdb-f067e7fbaf71eb483ced6f4728ca2b0ddd72e4b0.tar.gz
gdb-f067e7fbaf71eb483ced6f4728ca2b0ddd72e4b0.tar.bz2
undo repvious delta
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog5
-rw-r--r--gprof/gprof.h6
2 files changed, 11 insertions, 0 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 85d1416..caba759 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-31 Nick Clifton <nickc@cygnus.com>
+
+ * gprof.h (_): Revert previous delta. We want to use gettext,
+ not dgettext in the _ macro.
+
2000-05-29 Alan Modra <alan@linuxcare.com.au>
* gprof.h (_): Use BFD version.
diff --git a/gprof/gprof.h b/gprof/gprof.h
index 983f0ac..fdf9a28 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"
/*