From 823b693056c628b65c5fa6927a6adf6c147ba391 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 7 Nov 2012 17:33:49 +0000 Subject: [PATCH] gold/ * system.h: Move inclusion of to after in [ENABLE_NLS] section, and separately at top of [!ENABLE_NLS] section. --- gold/ChangeLog | 3 +++ gold/gold.h | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index f51dfeb7974..efe9e62204f 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,8 @@ 2012-11-07 Roland McGrath + * gold.h: Move inclusion of to after in + [ENABLE_NLS] section, and separately at top of [!ENABLE_NLS] section. + * descriptors.cc (set_close_on_exec): Add ATTRIBUTE_UNUSED to the parameter, which is unused in the [!F_SETFD] case. diff --git a/gold/gold.h b/gold/gold.h index 9aa7cf3506c..df7414c4f1d 100644 --- a/gold/gold.h +++ b/gold/gold.h @@ -42,12 +42,10 @@ # define _LIBGETTEXT_H #endif -// Always include first to avoid conflicts with the macros -// used when ENABLE_NLS is not defined. -#include - #ifdef ENABLE_NLS +// On some systems, things go awry when comes after . # include +# include # define _(String) gettext (String) # ifdef gettext_noop # define N_(String) gettext_noop (String) @@ -55,6 +53,8 @@ # define N_(String) (String) # endif #else +// Include first to avoid conflicts with these macros. +# include # define gettext(Msgid) (Msgid) # define dgettext(Domainname, Msgid) (Msgid) # define dcgettext(Domainname, Msgid, Category) (Msgid) -- 2.47.3