mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Support systems whose <inttypes.h> doesn't define `PRIiMAX'.
This commit is contained in:
parent
e36280cb28
commit
fcbc08686c
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2008-06-02 Ludovic Courtès <ludo@gnu.org>
|
||||||
|
|
||||||
|
* standalone/test-conversion.c: Support systems whose
|
||||||
|
<inttypes.h> doesn't define `PRIiMAX'. Reported by Peter
|
||||||
|
O'Gorman <pogma@thewrittenword.com>.
|
||||||
|
|
||||||
2008-05-31 Ludovic Courtès <ludo@gnu.org>
|
2008-05-31 Ludovic Courtès <ludo@gnu.org>
|
||||||
|
|
||||||
* standalone/test-gh.c (string_equal): Use `scm_c_string_length ()'
|
* standalone/test-gh.c (string_equal): Use `scm_c_string_length ()'
|
||||||
|
|
|
@ -27,7 +27,9 @@
|
||||||
|
|
||||||
#ifdef HAVE_INTTYPES_H
|
#ifdef HAVE_INTTYPES_H
|
||||||
# include <inttypes.h>
|
# include <inttypes.h>
|
||||||
#elif (!defined PRIiMAX)
|
#endif
|
||||||
|
|
||||||
|
#ifndef PRIiMAX
|
||||||
# if (defined SIZEOF_LONG_LONG) && (SIZEOF_LONG_LONG >= 8)
|
# if (defined SIZEOF_LONG_LONG) && (SIZEOF_LONG_LONG >= 8)
|
||||||
# define PRIiMAX "lli"
|
# define PRIiMAX "lli"
|
||||||
# define PRIuMAX "llu"
|
# define PRIuMAX "llu"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue