From 60210334fa3dbd5dd168199063c6ee850d750d0c Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Sun, 21 Feb 2010 17:45:55 -0800 Subject: Imported Upstream version 0.10 --- portable/snprintf.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'portable/snprintf.c') diff --git a/portable/snprintf.c b/portable/snprintf.c index 3c39de8..ab3121c 100644 --- a/portable/snprintf.c +++ b/portable/snprintf.c @@ -1,5 +1,4 @@ -/* $Id$ - * +/* * Replacement for a missing snprintf or vsnprintf. * * The following implementation of snprintf was taken mostly verbatim from @@ -110,13 +109,10 @@ #define VA_SHIFT(v,t) ; /* no-op for ANSI */ #define VA_END va_end(ap) -#ifdef HAVE_LONG_DOUBLE +/* Assume all compilers support long double, per Autoconf documentation. */ #define LDOUBLE long double -#else -#define LDOUBLE double -#endif -#ifdef HAVE_LONG_LONG +#ifdef HAVE_LONG_LONG_INT # define LLONG long long #else # define LLONG long -- cgit v1.2.3