diff options
Diffstat (limited to 'gas/asintl.h')
-rw-r--r-- | gas/asintl.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/gas/asintl.h b/gas/asintl.h index 1bc1dd5..8fcbbf0 100644 --- a/gas/asintl.h +++ b/gas/asintl.h @@ -20,18 +20,16 @@ Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifdef HAVE_LOCALE_H -# ifndef ENABLE_NLS - /* 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 - and the dummy definitions of bindtextdomain (et al) below will conflict - with the definitions in libintl.h. So we define these values to prevent - the bogus inclusion of libintl.h. */ -# define _LIBINTL_H -# define _LIBGETTEXT_H -# endif -# include <locale.h> +#ifndef ENABLE_NLS + /* 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 + and the dummy definitions of bindtextdomain (et al) below will conflict + with the definitions in libintl.h. So we define these values to prevent + the bogus inclusion of libintl.h. */ +# define _LIBINTL_H +# define _LIBGETTEXT_H #endif +#include <locale.h> #ifdef ENABLE_NLS # include <libintl.h> |