about summary refs log tree commit diff
path: root/posix/regex_internal.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/regex_internal.c')
-rw-r--r--posix/regex_internal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/regex_internal.c b/posix/regex_internal.c
index c2b0f9b4b0..8b16dd6cef 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)