diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-01-17 03:22:52 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-01-17 03:22:52 +0000 |
| commit | 7fab608205e7a29b2a9bcd344e409edbb4cea6e3 (patch) | |
| tree | e0bcefb8166f240cc23212f418057deee6853784 /src/backend/port/snprintf.c | |
| parent | cd6bc85aa2f847d49660d2d09c97c72d2bbe1ef1 (diff) | |
| download | postgresql-7fab608205e7a29b2a9bcd344e409edbb4cea6e3.tar.gz | |
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.
Diffstat (limited to 'src/backend/port/snprintf.c')
| -rw-r--r-- | src/backend/port/snprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
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)); |
