diff options
Diffstat (limited to 'contrib/binutils/bfd/sysdep.h')
-rw-r--r-- | contrib/binutils/bfd/sysdep.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/contrib/binutils/bfd/sysdep.h b/contrib/binutils/bfd/sysdep.h index e559aa6..0a58983 100644 --- a/contrib/binutils/bfd/sysdep.h +++ b/contrib/binutils/bfd/sysdep.h @@ -1,5 +1,5 @@ /* sysdep.h -- handle host dependencies for the BFD library - Copyright 1995, 1996 Free Software Foundation, Inc. + Copyright 1995, 96, 97, 98, 1999 Free Software Foundation, Inc. Written by Cygnus Support. This file is part of BFD, the Binary File Descriptor library. @@ -122,4 +122,23 @@ extern void free (); extern char *getenv (); #endif +#ifdef ENABLE_NLS +#include <libintl.h> +#define _(String) dgettext (PACKAGE, 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 + #endif /* ! defined (BFD_SYSDEP_H) */ |