From 7fab608205e7a29b2a9bcd344e409edbb4cea6e3 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 17 Jan 1999 03:22:52 +0000 Subject: Add configure test to see whether vsnprintf() is present, separately from snprintf() --- HPUX, for one, has snprintf but not vsnprintf. Fix a minor typo in snprintf.c, too. --- src/backend/port/snprintf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/port/snprintf.c') diff --git a/src/backend/port/snprintf.c b/src/backend/port/snprintf.c index 5b541965b5..c49df44942 100644 --- a/src/backend/port/snprintf.c +++ b/src/backend/port/snprintf.c @@ -73,7 +73,7 @@ typedef unsigned long long ulong_long; * causing nast effects. **************************************************************/ -/*static char _id[] = "$Id: snprintf.c,v 1.15 1998/12/24 05:28:50 momjian Exp $";*/ +/*static char _id[] = "$Id: snprintf.c,v 1.16 1999/01/17 03:22:49 tgl Exp $";*/ static char *end; static int SnprfOverflow; @@ -115,7 +115,7 @@ vsnprintf(char *str, size_t count, const char *fmt, va_list args) static void fmtstr __P((char *value, int ljust, int len, int zpad, int maxwidth)); -#ifndef HAVE_LONG_INT_64 +#ifndef HAVE_LONG_LONG_INT_64 static void fmtnum __P((long value, int base, int dosign, int ljust, int len, int zpad)); #else static void fmtnum __P((long_long value, int base, int dosign, int ljust, int len, int zpad)); -- cgit v1.2.1