summaryrefslogtreecommitdiffstats
path: root/gl/regex_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/regex_internal.h')
-rw-r--r--gl/regex_internal.h20
1 files changed, 5 insertions, 15 deletions
diff --git a/gl/regex_internal.h b/gl/regex_internal.h
index 1f297299..11b745ef 100644
--- a/gl/regex_internal.h
+++ b/gl/regex_internal.h
@@ -1,5 +1,5 @@
1/* Extended regular expression matching and search library. 1/* Extended regular expression matching and search library.
2 Copyright (C) 2002-2025 Free Software Foundation, Inc. 2 Copyright (C) 2002-2026 Free Software Foundation, Inc.
3 This file is part of the GNU C Library. 3 This file is part of the GNU C Library.
4 Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>. 4 Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
5 5
@@ -98,24 +98,14 @@
98#endif 98#endif
99 99
100/* This is for other GNU distributions with internationalized messages. */ 100/* This is for other GNU distributions with internationalized messages. */
101#if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC 101#ifdef _LIBC
102# include <libintl.h> 102# include <libintl.h>
103# undef gettext 103# undef gettext
104# ifdef _LIBC 104# define gettext(msgid) \
105# define gettext(msgid) \
106 __dcgettext (_libc_intl_domainname, msgid, LC_MESSAGES) 105 __dcgettext (_libc_intl_domainname, msgid, LC_MESSAGES)
107# else
108# define gettext(msgid) dgettext ("gnulib", msgid)
109# endif
110#else
111# undef gettext
112# define gettext(msgid) (msgid)
113#endif
114
115#ifndef gettext_noop
116/* This define is so xgettext can find the internationalizable
117 strings. */
118# define gettext_noop(String) String 106# define gettext_noop(String) String
107#else
108# include "gettext.h"
119#endif 109#endif
120 110
121/* Number of ASCII characters. */ 111/* Number of ASCII characters. */