X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gprof%2Fgprof.h;h=43e767567d5f22368e5ee2fc1014ee30faa144ef;hb=6edf473a3032f789c1b99047708fc966ea91c656;hp=8f62aeefd4a0a48d5d07061b17d72cb27cadc1c4;hpb=dc9e099fc0eced486ae2b49455c9da113c11f4ff;p=deliverable%2Fbinutils-gdb.git diff --git a/gprof/gprof.h b/gprof/gprof.h index 8f62aeefd4..43e767567d 100644 --- a/gprof/gprof.h +++ b/gprof/gprof.h @@ -21,7 +21,7 @@ #ifndef gprof_h #define gprof_h -#include +#include "ansidecl.h" /* Include the BFD sysdep.h file. */ #include "sysdep.h" @@ -30,8 +30,6 @@ gprof config.h file. */ #undef PACKAGE #undef VERSION -/* Also undefine BFD's `_' macro; we have our own definition. */ -#undef _ #include "gconfig.h" @@ -49,7 +47,7 @@ #define PATH_MAX 1024 #endif -#define A_OUTNAME "a.out" /* default core filename */ +#define A_OUTNAME "a.out" /* default core filename */ #define GMONNAME "gmon.out" /* default profile filename */ #define GMONSUM "gmon.sum" /* profile summary filename */ @@ -58,24 +56,12 @@ #endif #ifdef ENABLE_NLS -# include -# define _(String) gettext (String) -# ifdef gettext_noop -# define N_(String) gettext_noop (String) -# else -# define N_(String) (String) -# endif -#else -/* Stubs that do something close enough. */ -# define textdomain(String) (String) -# define gettext(String) (String) -# define dgettext(Domain,Message) (Message) -# define dcgettext(Domain,Message,Type) (Message) -# define bindtextdomain(Domain,Directory) (Domain) -# define _(String) (String) -# define N_(String) (String) +/* Undefine BFD's `_' macro; we have our own definition. */ +#undef _ +#define _(String) gettext (String) #endif +#include "bin-bugs.h" /* * These may already be defined on some systems. We could probably