mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 15:30:07 +00:00
riscv: Do not use __has_include__
The user-visible preprocessor construct is called __has_include.
(cherry picked from commit 28dd393922
)
This commit is contained in:
parent
6578d89c17
commit
9ff61e9159
@ -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]
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user