diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2022-01-19 12:04:44 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2022-01-19 12:04:44 +0200 |
commit | d96d55d7d23ee27c49cf7055956007de5f3432db (patch) | |
tree | cc94537a15902144ff111dc664a2da9d71f59eb4 /support/cdefs.h | |
parent | 71a50ec092b75ce2b2f969892c6cd443d44777a5 (diff) | |
download | egawk-d96d55d7d23ee27c49cf7055956007de5f3432db.tar.gz egawk-d96d55d7d23ee27c49cf7055956007de5f3432db.tar.bz2 egawk-d96d55d7d23ee27c49cf7055956007de5f3432db.zip |
Update support files with new copyright year.
Diffstat (limited to 'support/cdefs.h')
-rw-r--r-- | support/cdefs.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/support/cdefs.h b/support/cdefs.h index ab57d4a0..44d3826b 100644 --- a/support/cdefs.h +++ b/support/cdefs.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1992-2021 Free Software Foundation, Inc. +/* Copyright (C) 1992-2022 Free Software Foundation, Inc. Copyright The GNU Toolchain Authors. This file is part of the GNU C Library. @@ -143,7 +143,8 @@ #define __bos0(ptr) __builtin_object_size (ptr, 0) /* Use __builtin_dynamic_object_size at _FORTIFY_SOURCE=3 when available. */ -#if __USE_FORTIFY_LEVEL == 3 && __glibc_clang_prereq (9, 0) +#if __USE_FORTIFY_LEVEL == 3 && (__glibc_clang_prereq (9, 0) \ + || __GNUC_PREREQ (12, 0)) # define __glibc_objsize0(__o) __builtin_dynamic_object_size (__o, 0) # define __glibc_objsize(__o) __builtin_dynamic_object_size (__o, 1) #else @@ -169,7 +170,7 @@ __s, __osz)) \ && __glibc_safe_len_cond ((__SIZE_TYPE__) (__l), __s, __osz)) -/* Conversely, we know at compile time that the length is safe if the +/* Conversely, we know at compile time that the length is unsafe if the __L * __S <= __OBJSZ condition can be folded to a constant and if it is false. */ #define __glibc_unsafe_len(__l, __s, __osz) \ |