OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [asintl.h] - Diff between revs 156 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 156 Rev 816
/* asintl.h - gas-specific header for gettext code.
/* asintl.h - gas-specific header for gettext code.
   Copyright 1998, 1999, 2000, 2005, 2007 Free Software Foundation, Inc.
   Copyright 1998, 1999, 2000, 2005, 2007 Free Software Foundation, Inc.
 
 
   Written by Tom Tromey <tromey@cygnus.com>
   Written by Tom Tromey <tromey@cygnus.com>
 
 
   This file is part of GAS, the GNU Assembler.
   This file is part of GAS, the GNU Assembler.
 
 
   GAS is free software; you can redistribute it and/or modify
   GAS is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 3, or (at your option)
   the Free Software Foundation; either version 3, or (at your option)
   any later version.
   any later version.
 
 
   GAS is distributed in the hope that it will be useful, but WITHOUT
   GAS is distributed in the hope that it will be useful, but WITHOUT
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
   License for more details.
   License for more details.
 
 
   You should have received a copy of the GNU General Public License
   You should have received a copy of the GNU General Public License
   along with GAS; see the file COPYING.  If not, write to the Free
   along with GAS; see the file COPYING.  If not, write to the Free
   Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
   Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
   02110-1301, USA.  */
   02110-1301, USA.  */
 
 
#ifdef HAVE_LOCALE_H
#ifdef HAVE_LOCALE_H
# ifndef ENABLE_NLS
# ifndef ENABLE_NLS
   /* The Solaris version of locale.h always includes libintl.h.  If we have
   /* The Solaris version of locale.h always includes libintl.h.  If we have
      been configured with --disable-nls then ENABLE_NLS will not be defined
      been configured with --disable-nls then ENABLE_NLS will not be defined
      and the dummy definitions of bindtextdomain (et al) below will conflict
      and the dummy definitions of bindtextdomain (et al) below will conflict
      with the defintions in libintl.h.  So we define these values to prevent
      with the defintions in libintl.h.  So we define these values to prevent
      the bogus inclusion of libintl.h.  */
      the bogus inclusion of libintl.h.  */
#  define _LIBINTL_H
#  define _LIBINTL_H
#  define _LIBGETTEXT_H
#  define _LIBGETTEXT_H
# endif
# endif
# include <locale.h>
# include <locale.h>
#endif
#endif
 
 
#ifdef ENABLE_NLS
#ifdef ENABLE_NLS
# include <libintl.h>
# include <libintl.h>
# define _(String) gettext (String)
# define _(String) gettext (String)
# ifdef gettext_noop
# ifdef gettext_noop
#  define N_(String) gettext_noop (String)
#  define N_(String) gettext_noop (String)
# else
# else
#  define N_(String) (String)
#  define N_(String) (String)
# endif
# endif
#else
#else
# define gettext(Msgid) (Msgid)
# define gettext(Msgid) (Msgid)
# define dgettext(Domainname, Msgid) (Msgid)
# define dgettext(Domainname, Msgid) (Msgid)
# define dcgettext(Domainname, Msgid, Category) (Msgid)
# define dcgettext(Domainname, Msgid, Category) (Msgid)
# define textdomain(Domainname) while (0) /* nothing */
# define textdomain(Domainname) while (0) /* nothing */
# define bindtextdomain(Domainname, Dirname) while (0) /* nothing */
# define bindtextdomain(Domainname, Dirname) while (0) /* nothing */
# define _(String) (String)
# define _(String) (String)
# define N_(String) (String)
# define N_(String) (String)
#endif
#endif
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.