* lib/stdint.in.h: Do not redefine intptr_t/uintptr_t
if __INTPTR_WIDTH__ says otherwise. This is needed on CHERI.
2023-11-06 Paul Eggert <eggert@cs.ucla.edu>
+ stdint: port intptr_t to CHERI
+ * lib/stdint.in.h: Do not redefine intptr_t/uintptr_t
+ if __INTPTR_WIDTH__ says otherwise. This is needed on CHERI.
+
stdint-tests: port to CHERI etc
* tests/test-stdint.c: Test intptr_t only if INTPTR_MAX is
defined, since the type is optional. Similarly for uintptr_t.
uintptr_t to avoid conflicting declarations of system functions like
_findclose in <io.h>. */
# if !((defined __KLIBC__ && defined _INTPTR_T_DECLARED) \
+ || (defined __INTPTR_WIDTH__ \
+ && __INTPTR_WIDTH__ != (defined _WIN64 ? LLONG_WIDTH : LONG_WIDTH)) \
|| defined __MINGW32__)
# undef intptr_t
# undef uintptr_t