1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

riscv: Do not use __has_include__

The user-visible preprocessor construct is called __has_include.
This commit is contained in:
Florian Weimer
2019-06-06 11:24:32 +02:00
parent 0158473d8f
commit 28dd393922
2 changed files with 6 additions and 1 deletions

View File

@ -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> 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
* sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code

View File

@ -21,7 +21,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <atomic.h> #include <atomic.h>
#include <sys/cachectl.h> #include <sys/cachectl.h>
#if __has_include__ (<asm/syscalls.h>) #if __has_include (<asm/syscalls.h>)
# include <asm/syscalls.h> # include <asm/syscalls.h>
#else #else
# include <asm/unistd.h> # include <asm/unistd.h>