GPROF: Define our own version of _().
Nick Clifton
nickc@cygnus.com
Wed May 31 17:11:00 GMT 2000
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"
/*
More information about the Binutils
mailing list