mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
glibc patch: don't check __LIBC macro
This is the only place in all of glibc that this macro is referenced. What is it doing? Only preventing fstatat.c from knowing the type definition of `__time64_t`, apparently. Fixes compilation of fstatat.c on 32-bit x86.
This commit is contained in:
parent
090025c457
commit
82ec333f27
1 changed files with 1 additions and 1 deletions
2
lib/libc/glibc/posix/bits/types.h
vendored
2
lib/libc/glibc/posix/bits/types.h
vendored
|
|
@ -217,7 +217,7 @@ typedef int __sig_atomic_t;
|
||||||
/* Seconds since the Epoch, visible to user code when time_t is too
|
/* Seconds since the Epoch, visible to user code when time_t is too
|
||||||
narrow only for consistency with the old way of widening too-narrow
|
narrow only for consistency with the old way of widening too-narrow
|
||||||
types. User code should never use __time64_t. */
|
types. User code should never use __time64_t. */
|
||||||
#if __TIMESIZE == 64 && defined __LIBC
|
#if __TIMESIZE == 64
|
||||||
# define __time64_t __time_t
|
# define __time64_t __time_t
|
||||||
#elif __TIMESIZE != 64
|
#elif __TIMESIZE != 64
|
||||||
__STD_TYPE __TIME64_T_TYPE __time64_t;
|
__STD_TYPE __TIME64_T_TYPE __time64_t;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue