From 9ff61e9159ce6a78fad28514d1e45cb7cc734ed9 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 6 Jun 2019 11:24:32 +0200 Subject: [PATCH] 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 74a337eafcc..2a448f382df 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-02-06 Stefan Liebler [BZ #23403] diff --git a/sysdeps/unix/sysv/linux/riscv/flush-icache.c b/sysdeps/unix/sysv/linux/riscv/flush-icache.c index 0b2042620bf..ddcb809e7d7 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 -- 2.47.2