From e0a0770bb4221001a1138d8d3ea9da0d3dce75df Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 6 Jun 2019 11:24:32 +0200 Subject: riscv: Do not use __has_include__ The user-visible preprocessor construct is called __has_include. (cherry picked from commit 28dd3939221ab26c6774097e9596e30d9753f758) --- ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/riscv/flush-icache.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 596604df09..1bd2a57c73 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-06-06 Florian Weimer + + * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use + internal GCC preprocessor identifier __has_include__. + 2019-07-24 Florian Weimer [BZ #24532] diff --git a/sysdeps/unix/sysv/linux/riscv/flush-icache.c b/sysdeps/unix/sysv/linux/riscv/flush-icache.c index cd5c400977..f2dfcc50d0 100644 --- a/sysdeps/unix/sysv/linux/riscv/flush-icache.c +++ b/sysdeps/unix/sysv/linux/riscv/flush-icache.c @@ -21,7 +21,7 @@ #include #include #include -#if __has_include__ () +#if __has_include () # include #else # include -- cgit v1.2.1