mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-22 21:36:12 +03:00
third_party/lss: Avoid naming conflict in fstatat64
Supports OpenWrt builds.
This commit is contained in:
parent
dbb7cab128
commit
2fc1fd622a
3
src/third_party/lss/linux_syscall_support.h
vendored
3
src/third_party/lss/linux_syscall_support.h
vendored
@ -141,12 +141,14 @@ extern "C" {
|
|||||||
#pragma push_macro("stat64")
|
#pragma push_macro("stat64")
|
||||||
#pragma push_macro("fstat64")
|
#pragma push_macro("fstat64")
|
||||||
#pragma push_macro("lstat64")
|
#pragma push_macro("lstat64")
|
||||||
|
#pragma push_macro("fstatat64")
|
||||||
#pragma push_macro("pread64")
|
#pragma push_macro("pread64")
|
||||||
#pragma push_macro("pwrite64")
|
#pragma push_macro("pwrite64")
|
||||||
#pragma push_macro("getdents64")
|
#pragma push_macro("getdents64")
|
||||||
#undef stat64
|
#undef stat64
|
||||||
#undef fstat64
|
#undef fstat64
|
||||||
#undef lstat64
|
#undef lstat64
|
||||||
|
#undef fstatat64
|
||||||
#undef pread64
|
#undef pread64
|
||||||
#undef pwrite64
|
#undef pwrite64
|
||||||
#undef getdents64
|
#undef getdents64
|
||||||
@ -5322,6 +5324,7 @@ struct kernel_statx {
|
|||||||
#pragma pop_macro("stat64")
|
#pragma pop_macro("stat64")
|
||||||
#pragma pop_macro("fstat64")
|
#pragma pop_macro("fstat64")
|
||||||
#pragma pop_macro("lstat64")
|
#pragma pop_macro("lstat64")
|
||||||
|
#pragma pop_macro("fstatat64")
|
||||||
#pragma pop_macro("pread64")
|
#pragma pop_macro("pread64")
|
||||||
#pragma pop_macro("pwrite64")
|
#pragma pop_macro("pwrite64")
|
||||||
#pragma pop_macro("getdents64")
|
#pragma pop_macro("getdents64")
|
||||||
|
Loading…
Reference in New Issue
Block a user