diff options
Diffstat (limited to 'vsnprintf.c')
-rw-r--r-- | vsnprintf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vsnprintf.c b/vsnprintf.c index a68b0d05dc..196e733985 100644 --- a/vsnprintf.c +++ b/vsnprintf.c @@ -764,12 +764,14 @@ reswitch: switch (ch) { fmt += 2; flags |= LONGINT; } +#ifdef _HAVE_SANE_QUAD_ else if (*fmt == '6' && *(fmt + 1) == '4') { fmt += 2; flags |= QUADINT; } +#endif else -#if SIZEOF_SIZE_T == SIZEOF_LONG_LONG +#if defined(_HAVE_SANE_QUAD_) && SIZEOF_SIZE_T == SIZEOF_LONG_LONG flags |= QUADINT; #else flags |= LONGINT; |