libc/include/sys/signal.h: Change __STDINT_EXP() to __SIZEOF_INT__

__STDINT_EXP() is provided by newlib but not by stdint-gcc.h. stdint-gcc.h
is used when the GCC argument -ffreestanding is used and this results in this
file not compiling.
This commit is contained in:
Joel Sherrill 2021-08-27 08:39:31 -05:00
parent 801120c1f4
commit dcb515a953
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ int sigqueue (pid_t, int, const union sigval);
/* POSIX Issue 8 adds sig2str() and str2sig() */
#if __STDINT_EXP(INT_MAX) > 0x7fff
#if __SIZEOF_INT__ >= 4
#define SIG2STR_MAX (sizeof("RTMAX+") + sizeof("4294967295") - 1)
#else
#define SIG2STR_MAX (sizeof("RTMAX+") + sizeof("65535") - 1)