From fcbc08686c3341dd2dd5b429e13f41fc08e29db4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 2 Jun 2008 21:34:57 +0200 Subject: [PATCH] Support systems whose doesn't define `PRIiMAX'. --- test-suite/ChangeLog | 6 ++++++ test-suite/standalone/test-conversion.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) 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"