diff options
| author | Andreas Baumann <mail@andreasbaumann.cc> | 2026-03-27 11:14:20 +0100 |
|---|---|---|
| committer | Andreas Baumann <mail@andreasbaumann.cc> | 2026-03-27 11:14:20 +0100 |
| commit | 1113bbcd92d85b85579aa7feef511241e58fb0f5 (patch) | |
| tree | d69b7bcfe2f7e80fda9a1f4ddd38209d6cb7aaf0 /gl/regex_internal.h | |
| parent | 99283972fe3a74d3a1dea12c4099f76286130a67 (diff) | |
| parent | a71ce153082565e5728424749475593dc0623492 (diff) | |
| download | monitoring-plugins-1113bbcd92d85b85579aa7feef511241e58fb0f5.tar.gz | |
merged with mastercheck_snmp_fixes
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. */ |
