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:
@ -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;
|
||||
|
Reference in New Issue
Block a user