* elfcode.h (elf_object_p): Add more sanity checks on elf header.
[binutils.git] / gas / asintl.h
blob3b40aa3a67d5dc3f66c46c17d392cb5a35ea739c
1 /* asintl.h - gas-specific header for gettext code.
2 Copyright 1998, 1999, 2000 Free Software Foundation, Inc.
4 Written by Tom Tromey <tromey@cygnus.com>
6 This file is part of GAS, the GNU Assembler.
8 GAS is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
13 GAS is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with GAS; see the file COPYING. If not, write to the Free
20 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
21 02110-1301, USA. */
23 #ifdef HAVE_LOCALE_H
24 # include <locale.h>
25 #endif
27 #ifdef ENABLE_NLS
28 # include <libintl.h>
29 # define _(String) gettext (String)
30 # ifdef gettext_noop
31 # define N_(String) gettext_noop (String)
32 # else
33 # define N_(String) (String)
34 # endif
35 #else
36 # define gettext(Msgid) (Msgid)
37 # define dgettext(Domainname, Msgid) (Msgid)
38 # define dcgettext(Domainname, Msgid, Category) (Msgid)
39 # define textdomain(Domainname) while (0) /* nothing */
40 # define bindtextdomain(Domainname, Dirname) while (0) /* nothing */
41 # define _(String) (String)
42 # define N_(String) (String)
43 #endif