This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
GPROF: Define our own version of _().
- To: binutils at sourceware dot cygnus dot com
- Subject: GPROF: Define our own version of _().
- From: Nick Clifton <nickc at cygnus dot com>
- Date: Wed, 31 May 2000 17:11:10 -0700
Hi Guys,
I am about to check in the following patch, which undoes the
previous delta to this file and restores the (re)defintion of the
_() macro.
Cheers
Nick
2000-05-31 Nick Clifton <nickc@cygnus.com>
* gprof.h (_): Revert previous delta. We want to use gettext,
not dgettext in the _ macro.
Index: gprof/gprof.h
===================================================================
RCS file: /cvs/src//src/gprof/gprof.h,v
retrieving revision 1.4
diff -p -r1.4 gprof.h
*** gprof.h 2000/05/28 23:30:29 1.4
--- gprof.h 2000/06/01 00:09:14
***************
*** 55,60 ****
--- 55,66 ----
# 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"
/*