mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
glibc patch: remove some static asserts from fstatat
These are tripping on 32-bit x86 but are intended to prevent glibc itself from being built with a bad configuration. Zig is only using this file to create libc_nonshared.a, so it's not relevant.
This commit is contained in:
parent
82ec333f27
commit
fd8b50ca5c
1 changed files with 0 additions and 12 deletions
|
|
@ -27,18 +27,6 @@
|
|||
#include <sys/sysmacros.h>
|
||||
#include <internal-stat.h>
|
||||
|
||||
#if __TIMESIZE == 64 \
|
||||
&& (__WORDSIZE == 32 \
|
||||
&& (!defined __SYSCALL_WORDSIZE || __SYSCALL_WORDSIZE == 32))
|
||||
/* Sanity check to avoid newer 32-bit ABI to support non-LFS calls. */
|
||||
_Static_assert (sizeof (__off_t) == sizeof (__off64_t),
|
||||
"__blkcnt_t and __blkcnt64_t must match");
|
||||
_Static_assert (sizeof (__ino_t) == sizeof (__ino64_t),
|
||||
"__blkcnt_t and __blkcnt64_t must match");
|
||||
_Static_assert (sizeof (__blkcnt_t) == sizeof (__blkcnt64_t),
|
||||
"__blkcnt_t and __blkcnt64_t must match");
|
||||
#endif
|
||||
|
||||
#if FSTATAT_USE_STATX
|
||||
|
||||
static inline int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue