This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] riscv: Use __has_include__ to include <asm/syscalls.h> [BZ #24022]
- From: Joseph Myers <joseph at codesourcery dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Mon, 31 Dec 2018 17:10:33 +0000
- Subject: Re: [PATCH] riscv: Use __has_include__ to include <asm/syscalls.h> [BZ #24022]
- References: <20181221174840.10933-1-hjl.tools@gmail.com>
On Fri, 21 Dec 2018, H.J. Lu wrote:
> +#if __has_include__ (<asm/syscalls.h>)
> #include <asm/syscalls.h>
> +#else
> +#include <asm/unistd.h>
> +#endif
Missing preprocessor indentation, "# include", in both halves of the #if.
OK with that fixed, please commit, given that the asm/syscalls.h header is
in fact not in 4.20.
--
Joseph S. Myers
joseph@codesourcery.com