diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2022-03-25 14:00:55 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2022-03-25 14:00:55 +0300 |
commit | 6739849e21c5bfd849b0c4029c2950902e7656af (patch) | |
tree | 69422f7ef3e6c047886dbeac15cad753e6a89248 /support/cdefs.h | |
parent | c07a390e647b74a40f1726e6fe3580bc370f178b (diff) | |
download | egawk-6739849e21c5bfd849b0c4029c2950902e7656af.tar.gz egawk-6739849e21c5bfd849b0c4029c2950902e7656af.tar.bz2 egawk-6739849e21c5bfd849b0c4029c2950902e7656af.zip |
Sync support files from GNULIB.
Diffstat (limited to 'support/cdefs.h')
-rw-r--r-- | support/cdefs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/support/cdefs.h b/support/cdefs.h index 44d3826b..cb251450 100644 --- a/support/cdefs.h +++ b/support/cdefs.h @@ -41,7 +41,9 @@ Similarly for __has_builtin, etc. */ #if (defined __has_attribute \ && (!defined __clang_minor__ \ - || 3 < __clang_major__ + (5 <= __clang_minor__))) + || (defined __apple_build_version__ \ + ? 6000000 <= __apple_build_version__ \ + : 3 < __clang_major__ + (5 <= __clang_minor__)))) # define __glibc_has_attribute(attr) __has_attribute (attr) #else # define __glibc_has_attribute(attr) 0 |