From: Ludovic Courtès Date: Mon, 2 Jun 2008 19:34:57 +0000 (+0200) Subject: Support systems whose doesn't define `PRIiMAX'. X-Git-Url: http://git.hcoop.net/bpt/guile.git/commitdiff_plain/fcbc08686c3341dd2dd5b429e13f41fc08e29db4 Support systems whose doesn't define `PRIiMAX'. --- diff --git a/test-suite/ChangeLog b/test-suite/ChangeLog index dca61413d..9b4cdd643 100644 --- a/test-suite/ChangeLog +++ b/test-suite/ChangeLog @@ -1,3 +1,9 @@ +2008-06-02 Ludovic Courtès + + * standalone/test-conversion.c: Support systems whose + doesn't define `PRIiMAX'. Reported by Peter + O'Gorman . + 2008-05-31 Ludovic Courtès * standalone/test-gh.c (string_equal): Use `scm_c_string_length ()' diff --git a/test-suite/standalone/test-conversion.c b/test-suite/standalone/test-conversion.c index b8dfab8ea..92835f244 100644 --- a/test-suite/standalone/test-conversion.c +++ b/test-suite/standalone/test-conversion.c @@ -27,7 +27,9 @@ #ifdef HAVE_INTTYPES_H # include -#elif (!defined PRIiMAX) +#endif + +#ifndef PRIiMAX # if (defined SIZEOF_LONG_LONG) && (SIZEOF_LONG_LONG >= 8) # define PRIiMAX "lli" # define PRIuMAX "llu"