aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-06-06 11:24:32 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-01-21 13:44:35 +0100
commit9ff61e9159ce6a78fad28514d1e45cb7cc734ed9 (patch)
tree901f7db7db88b646648a064debc968efd7236191 /sysdeps/unix
parent6578d89c170cc7b524b9bccafffd5b4207bf646f (diff)
downloadglibc-9ff61e9159ce6a78fad28514d1e45cb7cc734ed9.tar
glibc-9ff61e9159ce6a78fad28514d1e45cb7cc734ed9.tar.gz
glibc-9ff61e9159ce6a78fad28514d1e45cb7cc734ed9.tar.bz2
glibc-9ff61e9159ce6a78fad28514d1e45cb7cc734ed9.zip
riscv: Do not use __has_include__
The user-visible preprocessor construct is called __has_include. (cherry picked from commit 28dd3939221ab26c6774097e9596e30d9753f758)
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/riscv/flush-icache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/riscv/flush-icache.c b/sysdeps/unix/sysv/linux/riscv/flush-icache.c
index 0b2042620b..ddcb809e7d 100644
--- a/sysdeps/unix/sysv/linux/riscv/flush-icache.c
+++ b/sysdeps/unix/sysv/linux/riscv/flush-icache.c
@@ -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>