]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
riscv: Do not use __has_include__
authorFlorian Weimer <fweimer@redhat.com>
Thu, 6 Jun 2019 09:24:32 +0000 (11:24 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 21 Jan 2020 12:44:35 +0000 (13:44 +0100)
The user-visible preprocessor construct is called __has_include.

(cherry picked from commit 28dd3939221ab26c6774097e9596e30d9753f758)

ChangeLog
sysdeps/unix/sysv/linux/riscv/flush-icache.c

index 74a337eafccbd47b9f29077e3ae5e6eee199f2af..2a448f382dfeddaa80b3280cc1ebcc0fb1b7b18c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-06-06  Florian Weimer  <fweimer@redhat.com>
+
+       * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
+       internal GCC preprocessor identifier __has_include__.
+
 2019-02-06  Stefan Liebler  <stli@linux.ibm.com>
 
        [BZ #23403]
index 0b2042620bf21349c50e26b7c74e8ceaa8ec293c..ddcb809e7d798357868171e67e9f0d347db485a8 100644 (file)
@@ -21,7 +21,7 @@
 #include <stdlib.h>
 #include <atomic.h>
 #include <sys/cachectl.h>
-#if __has_include__ (<asm/syscalls.h>)
+#if __has_include (<asm/syscalls.h>)
 # include <asm/syscalls.h>
 #else
 # include <asm/unistd.h>