[PATCH] erofs-utils: avoid _LARGEFILE64_SOURCE and _GNU_SOURCE redefinition
Li GuiFu
bluce.lee at aliyun.com
Fri Mar 27 03:18:53 AEDT 2020
On 2020/3/14 18:52, Gao Xiang wrote:
> From: Gao Xiang <gaoxiang25 at huawei.com>
>
> This patch can be used to resolve the following build errors:
>
> compress.c:10: error: "_LARGEFILE64_SOURCE" redefined [-Werror]
> #define _LARGEFILE64_SOURCE
>
> <command-line>: note: this is the location of the previous definition
>
> io.c:9: error: "_LARGEFILE64_SOURCE" redefined [-Werror]
> #define _LARGEFILE64_SOURCE
>
> <command-line>: note: this is the location of the previous definition
>
> Signed-off-by: Gao Xiang <gaoxiang25 at huawei.com>
It looks good
Reviewed-by: Li Guifu <bluce.lee at aliyun.com>
Thanks
More information about the Linux-erofs
mailing list