1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-28 16:00:22 +02:00

(HAVE_UINTPTR_T): Only define if UINTPTR_T attributes

are defined: UINTPTR_MAX, INTPTR_MAX, INTPTR_MIN.
This commit is contained in:
Thien-Thi Nguyen 2002-02-03 05:19:05 +00:00
parent 329e496820
commit 3dd84ef10c

View file

@ -293,7 +293,11 @@
* - ... add more
*/
#if SIZEOF_UINTPTR_T != 0
#if SIZEOF_UINTPTR_T != 0 && defined(UINTPTR_MAX) \
&& defined(INTPTR_MAX) \
&& defined(INTPTR_MIN)
/* Used as SCM if available, so we bundle related attributes to avoid possible
type incon[st][oi]n[ae]nce later. Word in tags.h. */
#define HAVE_UINTPTR_T 1
#endif