]> sourceware.org Git - 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>
Thu, 6 Jun 2019 09:24:32 +0000 (11:24 +0200)
The user-visible preprocessor construct is called __has_include.

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

index 82ae58017aef793dbc273c58d078971da016ce67..89176cbccd0750de9f87f2c6e77894e56bc4bd7e 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-06-05  Paul A. Clarke  <pc@us.ibm.com>
 
        * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
index cd5c40097799297c2987ead376f10c6892eafaae..f2dfcc50d0bb7f0b66beb39f4fecae6d258449a5 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>
This page took 0.080233 seconds and 5 git commands to generate.