diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 15:27:12 (GMT) |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 15:27:12 (GMT) |
commit | 5be04ec2ceb1df77afbca4fcbf9e92a712612d6f (patch) | |
tree | 2b2e1c71dffae827c8e45cd4cccc375093d03486 /gl/regex_internal.h | |
parent | 6d1d1dac32841d5ca6ee51bb09b30a6c604b17e2 (diff) | |
download | monitoring-plugins-5be04ec2ceb1df77afbca4fcbf9e92a712612d6f.tar.gz |
Sync with the latest Gnulib code (d4ec02b3cc)refs/pull/2037/head
Diffstat (limited to 'gl/regex_internal.h')
-rw-r--r-- | gl/regex_internal.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gl/regex_internal.h b/gl/regex_internal.h index 149ec2e..6165cb1 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-2023 Free Software Foundation, Inc. | 2 | Copyright (C) 2002-2024 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 | ||
@@ -29,6 +29,7 @@ | |||
29 | #include <locale.h> | 29 | #include <locale.h> |
30 | #include <wchar.h> | 30 | #include <wchar.h> |
31 | #include <wctype.h> | 31 | #include <wctype.h> |
32 | #include <stdckdint.h> | ||
32 | #include <stdint.h> | 33 | #include <stdint.h> |
33 | 34 | ||
34 | #ifndef _LIBC | 35 | #ifndef _LIBC |
@@ -150,9 +151,6 @@ | |||
150 | as some non-GCC platforms lack them, an issue when this code is | 151 | as some non-GCC platforms lack them, an issue when this code is |
151 | used in Gnulib. */ | 152 | used in Gnulib. */ |
152 | 153 | ||
153 | #ifndef SSIZE_MAX | ||
154 | # define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2)) | ||
155 | #endif | ||
156 | #ifndef ULONG_WIDTH | 154 | #ifndef ULONG_WIDTH |
157 | # define ULONG_WIDTH REGEX_UINTEGER_WIDTH (ULONG_MAX) | 155 | # define ULONG_WIDTH REGEX_UINTEGER_WIDTH (ULONG_MAX) |
158 | /* The number of usable bits in an unsigned integer type with maximum | 156 | /* The number of usable bits in an unsigned integer type with maximum |
@@ -822,7 +820,7 @@ re_string_elem_size_at (const re_string_t *pstr, Idx idx) | |||
822 | } | 820 | } |
823 | 821 | ||
824 | #ifdef _LIBC | 822 | #ifdef _LIBC |
825 | # if __GNUC__ >= 7 | 823 | # if __glibc_has_attribute (__fallthrough__) |
826 | # define FALLTHROUGH __attribute__ ((__fallthrough__)) | 824 | # define FALLTHROUGH __attribute__ ((__fallthrough__)) |
827 | # else | 825 | # else |
828 | # define FALLTHROUGH ((void) 0) | 826 | # define FALLTHROUGH ((void) 0) |