diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-07-28 03:06:32 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-07-28 03:06:32 +0200 |
commit | b711f8614a219e9c0de0f56fbab703c11f5625c8 (patch) | |
tree | b9a6d10dac88f3d349c118994daae116b6a862d9 /printf | |
parent | a7ed309a444d1f52fa40a8c51d5def149098a08a (diff) | |
download | gmp-b711f8614a219e9c0de0f56fbab703c11f5625c8.tar.gz |
Don't bother with a separate test for snprintf over vsnprintf.
Diffstat (limited to 'printf')
-rw-r--r-- | printf/doprntf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/printf/doprntf.c b/printf/doprntf.c index 64eb29f57..83a31c86f 100644 --- a/printf/doprntf.c +++ b/printf/doprntf.c @@ -239,7 +239,7 @@ __gmp_doprnt_float (const struct doprnt_funs_t *funs, expsign = (expval >= 0 ? '+' : '-'); expval = ABS (expval); -#if HAVE_SNPRINTF +#if HAVE_VSNPRINTF explen = snprintf (exponent, sizeof(exponent), p->expfmt, expsign, expval); /* test for < sizeof-1 since a glibc 2.0.x return of sizeof-1 might |