diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-10-20 15:21:58 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-10-20 15:21:58 +0200 |
commit | 630f99f29bd31a76d8d24da2975a045452c763ef (patch) | |
tree | 0c801f68561bfb0930a4ade80d7ca3a7940887ab /tests/libc-config.h | |
parent | 84e26c587987e8484d55db4165f188b40c09e94b (diff) | |
parent | 4682deeb62247d34de87f8e777f99e2d337fd377 (diff) |
Update upstream source from tag 'upstream/1.3'
Update to upstream version '1.3'
with Debian dir 8a8e4828ddf646ece6c109b401e08d162be35936
Diffstat (limited to 'tests/libc-config.h')
-rw-r--r-- | tests/libc-config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/libc-config.h b/tests/libc-config.h index 70114608..33bdb736 100644 --- a/tests/libc-config.h +++ b/tests/libc-config.h @@ -48,6 +48,11 @@ /* From glibc <features.h>. */ +#if defined __clang__ + /* clang really only groks GNU C 4.2, regardless of its value of __GNUC__. */ +# undef __GNUC_PREREQ +# define __GNUC_PREREQ(maj, min) ((maj) < 4 + ((min) <= 2)) +#endif #ifndef __GNUC_PREREQ # if defined __GNUC__ && defined __GNUC_MINOR__ # define __GNUC_PREREQ(maj, min) ((maj) < __GNUC__ + ((min) <= __GNUC_MINOR__)) |