Files
zig/lib/libc/include/powerpc-linux-gnueabihf/bits/wordsize.h
Andrew Kelley c8af00c66e glibc: fix inconsistency of powerpc ABI mapping
See the commit message of 5b6d26e97b for
an explanation. This is the same thing but for powerpc instead of mips.
2021-12-16 03:01:13 -07:00

11 lines
294 B
C
Vendored

/* Determine the wordsize from the preprocessor defines. */
#if defined __powerpc64__
# define __WORDSIZE 64
# define __WORDSIZE_TIME64_COMPAT32 1
#else
# define __WORDSIZE 32
# define __WORDSIZE_TIME64_COMPAT32 0
# define __WORDSIZE32_SIZE_ULONG 0
# define __WORDSIZE32_PTRDIFF_LONG 0
#endif