riscv: Do not use __has_include__
The user-visible preprocessor construct is called __has_include. (cherry picked from commit 28dd3939221ab26c6774097e9596e30d9753f758)
This commit is contained in:
parent
ea6f2c3174
commit
e0a0770bb4
|
@ -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-07-24 Florian Weimer <fweimer@redhat.com>
|
2019-07-24 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
[BZ #24532]
|
[BZ #24532]
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue