1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

Use inttypes.h and stdint.h when available, for INTPTR_MAX

and friends required by scm_t_bits setups.
This commit is contained in:
Kevin Ryde 2003-06-06 22:32:29 +00:00
parent 6375e04059
commit ee89863b09

View file

@ -29,6 +29,14 @@
/* picks up scmconfig.h too */
#include "libguile/__scm.h"
#if HAVE_INTTYPES_H
# include <inttypes.h> /* for INTPTR_MAX and friends */
#else
# if HAVE_STDINT_H
# include <stdint.h> /* for INTPTR_MAX and friends */
# endif
#endif
/* In the beginning was the Word:
*/
#if SCM_SIZEOF_INTPTR_T != 0 && defined(INTPTR_MAX) && defined(INTPTR_MIN)