This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

GPROF: Define our own version of _().


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"
  
  /*

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]