mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-12 06:41:13 +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:
parent
6375e04059
commit
ee89863b09
1 changed files with 8 additions and 0 deletions
|
@ -29,6 +29,14 @@
|
||||||
/* picks up scmconfig.h too */
|
/* picks up scmconfig.h too */
|
||||||
#include "libguile/__scm.h"
|
#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:
|
/* In the beginning was the Word:
|
||||||
*/
|
*/
|
||||||
#if SCM_SIZEOF_INTPTR_T != 0 && defined(INTPTR_MAX) && defined(INTPTR_MIN)
|
#if SCM_SIZEOF_INTPTR_T != 0 && defined(INTPTR_MAX) && defined(INTPTR_MIN)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue