mirror of git://git.musl-libc.org/musl
2d3083e746
policy has long been that these definitions are purely a function of whether long/pointer is 32- or 64-bit, and that they are not allowed to vary per-arch. move the definition to the shared alltypes.h.in fragment, using integer constant expressions in terms of sizeof to vary the array dimensions appropriately. I'm not sure whether this is more or less ugly than using preprocessor conditionals and two sets of definitions here, but either way is a lot less ugly than repeating the same thing for every arch. |
||
---|---|---|
.. | ||
alltypes.h.in | ||
fenv.h | ||
float.h | ||
hwcap.h | ||
ioctl.h | ||
ipcstat.h | ||
limits.h | ||
msg.h | ||
posix.h | ||
ptrace.h | ||
sem.h | ||
setjmp.h | ||
shm.h | ||
signal.h | ||
stat.h | ||
stdint.h | ||
syscall.h.in | ||
user.h |