* am33.igen: Detect cases where two operands must not match in
[deliverable/binutils-gdb.git] / gprof / gprof.h
index 20eb108afeb72a1c06ed7b16f2cdf0d3d765e2a1..cb3230ef7614c3ba0eba7451418d0092a16fb92b 100644 (file)
@@ -30,6 +30,8 @@
    gprof config.h file.  */
 #undef PACKAGE
 #undef VERSION
+/* Also undefine BFD's `_' macro; we have our own definition.  */
+#undef _
 
 #include "gconfig.h"
 
 #define        GMONNAME        "gmon.out"      /* default profile filename */
 #define        GMONSUM         "gmon.sum"      /* profile summary filename */
 
+#ifdef HAVE_LOCALE_H
+# include <locale.h>
+#endif
+
+#ifdef ENABLE_NLS
+# include <libintl.h>
+# 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)
+#endif
+
+#ifndef LC_MESSAGES
+# define LC_MESSAGES 0
+#endif
+
+
 /*
  * These may already be defined on some systems.  We could probably
  * just use the BFD versions of these, since BFD has already dealt
@@ -112,6 +142,7 @@ extern int debug_level;             /* debug level */
 extern int output_style;
 extern int output_width;       /* controls column width in index */
 extern bool bsd_style_output;  /* as opposed to FSF style output */
+extern bool demangle;          /* demangle symbol names? */
 extern bool discard_underscores;       /* discard leading underscores? */
 extern bool ignore_direct_calls;       /* don't count direct calls */
 extern bool ignore_static_funcs;       /* suppress static functions */
This page took 0.028753 seconds and 4 git commands to generate.