diff options
Diffstat (limited to 'posix')
-rw-r--r-- | posix/regcomp.c | 3 | ||||
-rw-r--r-- | posix/regex_internal.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/posix/regcomp.c b/posix/regcomp.c index 7e3954f..b5f8800 100644 --- a/posix/regcomp.c +++ b/posix/regcomp.c @@ -42,7 +42,8 @@ # include <libintl.h> # ifdef _LIBC # undef gettext -# define gettext(msgid) __dcgettext ("libc", msgid, LC_MESSAGES) +# define gettext(msgid) \ + INTUSE(__dcgettext) (_libc_intl_domainname_internal, msgid, LC_MESSAGES) # endif #else # define gettext(msgid) (msgid) diff --git a/posix/regex_internal.c b/posix/regex_internal.c index c2b0f9b..8b16dd6 100644 --- a/posix/regex_internal.c +++ b/posix/regex_internal.c @@ -41,7 +41,8 @@ # include <libintl.h> # ifdef _LIBC # undef gettext -# define gettext(msgid) __dcgettext ("libc", msgid, LC_MESSAGES) +# define gettext(msgid) \ + INTUSE(__dcgettext) (_libc_intl_domainname_internal, msgid, LC_MESSAGES) # endif #else # define gettext(msgid) (msgid) |