diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-03-26 12:53:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-26 12:53:53 +0100 |
| commit | 13e14a6bfd9f29cbfeab0c5161d2a994f97532e7 (patch) | |
| tree | 3aa7186fe092e42783dc7e981dc39a74ea61c466 /gl/regex_internal.h | |
| parent | 9d8503f90ef25b2cecd324dc118e441f40233ea8 (diff) | |
| download | monitoring-plugins-13e14a6bfd9f29cbfeab0c5161d2a994f97532e7.tar.gz | |
* Sync with the 202601-stable Gnulib code (4a3650d887)
* Ignore more deps stuff in gnulib
* Remove autogenerated gnulib files
* Ignore more gnulib generated headers
Diffstat (limited to 'gl/regex_internal.h')
| -rw-r--r-- | gl/regex_internal.h | 20 |
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. */ |
