* sysconf.cc (sca): Return -1 for _SC_THREAD_ROBUST_PRIO_INHERIT,
_SC_THREAD_ROBUST_PRIO_PROTECT, and _SC_XOPEN_UUCP. (SC_MAX): Redefine accordingly. (csa): Return strings for _CS_POSIX_V7_THREADS_CFLAGS, _CS_POSIX_V7_THREADS_LDFLAGS, and _CS_V7_ENV. (CS_MAX): Redefine accordingly. * include/limits.h (LONG_BIT): Define. (WORD_BIT): Define.
This commit is contained in:
		| @@ -26,6 +26,14 @@ details. */ | ||||
| #undef CHAR_BIT | ||||
| #define CHAR_BIT 8 | ||||
|  | ||||
| /* Number of bits in a `long'.  */ | ||||
| #undef LONG_BIT | ||||
| #define LONG_BIT 32 | ||||
|  | ||||
| /* Number of bits in a `int'.  */ | ||||
| #undef WORD_BIT | ||||
| #define WORD_BIT 32 | ||||
|  | ||||
| /* Maximum length of a multibyte character.  */ | ||||
| #ifndef MB_LEN_MAX | ||||
| /* TODO: This is newlib's max value.  We should probably rather define our | ||||
|   | ||||
		Reference in New Issue
	
	Block a user