diff options
Diffstat (limited to 'portable/snprintf.c')
-rw-r--r-- | portable/snprintf.c | 10 |
1 files changed, 3 insertions, 7 deletions
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 |