This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] riscv: Use __has_include__ to include <asm/syscalls.h> [BZ #24022]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]