Subversion Repositories Kolibri OS

Rev

Rev 5222 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5222 Rev 6324
1
/* asintl.h - gas-specific header for gettext code.
1
/* asintl.h - gas-specific header for gettext code.
2
   Copyright 1998, 1999, 2000, 2005, 2007 Free Software Foundation, Inc.
2
   Copyright (C) 1998-2015 Free Software Foundation, Inc.
3
 
3
 
4
   Written by Tom Tromey 
4
   Written by Tom Tromey 
5
 
5
 
6
   This file is part of GAS, the GNU Assembler.
6
   This file is part of GAS, the GNU Assembler.
7
 
7
 
8
   GAS is free software; you can redistribute it and/or modify
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
9
   it under the terms of the GNU General Public License as published by
10
   the Free Software Foundation; either version 3, or (at your option)
10
   the Free Software Foundation; either version 3, or (at your option)
11
   any later version.
11
   any later version.
12
 
12
 
13
   GAS is distributed in the hope that it will be useful, but WITHOUT
13
   GAS is distributed in the hope that it will be useful, but WITHOUT
14
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
15
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
16
   License for more details.
16
   License for more details.
17
 
17
 
18
   You should have received a copy of the GNU General Public License
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
19
   along with GAS; see the file COPYING.  If not, write to the Free
20
   Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
20
   Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
21
   02110-1301, USA.  */
21
   02110-1301, USA.  */
22
 
22
 
23
#ifdef HAVE_LOCALE_H
23
#ifdef HAVE_LOCALE_H
24
# ifndef ENABLE_NLS
24
# ifndef ENABLE_NLS
25
   /* The Solaris version of locale.h always includes libintl.h.  If we have
25
   /* The Solaris version of locale.h always includes libintl.h.  If we have
26
      been configured with --disable-nls then ENABLE_NLS will not be defined
26
      been configured with --disable-nls then ENABLE_NLS will not be defined
27
      and the dummy definitions of bindtextdomain (et al) below will conflict
27
      and the dummy definitions of bindtextdomain (et al) below will conflict
28
      with the defintions in libintl.h.  So we define these values to prevent
28
      with the defintions in libintl.h.  So we define these values to prevent
29
      the bogus inclusion of libintl.h.  */
29
      the bogus inclusion of libintl.h.  */
30
#  define _LIBINTL_H
30
#  define _LIBINTL_H
31
#  define _LIBGETTEXT_H
31
#  define _LIBGETTEXT_H
32
# endif
32
# endif
33
# include 
33
# include 
34
#endif
34
#endif
35
 
35
 
36
#ifdef ENABLE_NLS
36
#ifdef ENABLE_NLS
37
# include 
37
# include 
38
# define _(String) gettext (String)
38
# define _(String) gettext (String)
39
# ifdef gettext_noop
39
# ifdef gettext_noop
40
#  define N_(String) gettext_noop (String)
40
#  define N_(String) gettext_noop (String)
41
# else
41
# else
42
#  define N_(String) (String)
42
#  define N_(String) (String)
43
# endif
43
# endif
44
#else
44
#else
45
# define gettext(Msgid) (Msgid)
45
# define gettext(Msgid) (Msgid)
46
# define dgettext(Domainname, Msgid) (Msgid)
46
# define dgettext(Domainname, Msgid) (Msgid)
47
# define dcgettext(Domainname, Msgid, Category) (Msgid)
47
# define dcgettext(Domainname, Msgid, Category) (Msgid)
48
# define textdomain(Domainname) while (0) /* nothing */
48
# define textdomain(Domainname) while (0) /* nothing */
49
# define bindtextdomain(Domainname, Dirname) while (0) /* nothing */
49
# define bindtextdomain(Domainname, Dirname) while (0) /* nothing */
50
# define _(String) (String)
50
# define _(String) (String)
51
# define N_(String) (String)
51
# define N_(String) (String)
52
#endif
52
#endif