aboutsummaryrefslogtreecommitdiffstats
path: root/support/cdefs.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2022-03-25 14:01:33 +0300
committerArnold D. Robbins <arnold@skeeve.com>2022-03-25 14:01:33 +0300
commit0cdb4a0e28663cde0937601d26789ba5a6697848 (patch)
tree38b8cf2fe44abca8933afc66c647a3b6fe9e01cd /support/cdefs.h
parentde585a8e18b29fb83c755df5f10029fd78cca7ed (diff)
parent6739849e21c5bfd849b0c4029c2950902e7656af (diff)
downloadegawk-0cdb4a0e28663cde0937601d26789ba5a6697848.tar.gz
egawk-0cdb4a0e28663cde0937601d26789ba5a6697848.tar.bz2
egawk-0cdb4a0e28663cde0937601d26789ba5a6697848.zip
Merge branch 'gawk-5.1-stable'
Diffstat (limited to 'support/cdefs.h')
-rw-r--r--support/cdefs.h4
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