1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +03:00

Add fcvt() as a check to configure so that we can get rid of the BSD44_derived

type check in numutils.c:ftoa()

Pointed out by: "Martin J. Laubach" <mjl@emsi.priv.at>
This commit is contained in:
Marc G. Fournier
1997-04-22 17:47:42 +00:00
parent 2de10b0b01
commit 5514c1fa23
4 changed files with 7 additions and 6 deletions

View File

@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.9 1997/04/13 17:09:45 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.10 1997/04/22 17:47:14 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@ -137,9 +137,7 @@ ltoa(int32 l, char *a)
int
ftoa(double value, char *ascii, int width, int prec1, char format)
{
#if defined(__FreeBSD__) || \
defined(bsdi) || \
defined(bsdi_2_1)
#ifndef HAVE_FCVT
char out[256];
char fmt[256];
int ret;