From 5379b84eff3ae207635d7ac9527b0a3f5eb272e7 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Fri, 19 Dec 1997 02:09:10 +0000 Subject: More cleanups. I can now compile without PORTNAME being defined n Makefile.global. End result, if all goes well, should allow for much easier porting, since there will no longer be a concept of a "port". Most, if not everything, *should* be determined by configure, or by the compiler itself. Still work to be done though :) --- src/backend/utils/adt/numutils.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/backend/utils/adt/numutils.c') diff --git a/src/backend/utils/adt/numutils.c b/src/backend/utils/adt/numutils.c index 07bb1b6fda0..6aae6b36147 100644 --- a/src/backend/utils/adt/numutils.c +++ b/src/backend/utils/adt/numutils.c @@ -10,7 +10,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.17 1997/11/17 16:26:27 thomas Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.18 1997/12/19 02:08:01 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -27,7 +27,10 @@ #else #include #endif -#include /* ecvt(), fcvt() */ + +#ifndef HAVE_FCVT +# include /* ecvt(), fcvt() */ +#endif #ifndef INT_MAX #define INT_MAX (0x7FFFFFFFL) @@ -334,7 +337,7 @@ frac_out: *a = 0; avail = a - ascii; return (avail); -#endif /* !BSD44_derived */ +#endif } #endif -- cgit v1.2.3