diff options
author | Marc G. Fournier <scrappy@hub.org> | 1997-12-19 02:09:10 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1997-12-19 02:09:10 +0000 |
commit | 5379b84eff3ae207635d7ac9527b0a3f5eb272e7 (patch) | |
tree | 84d6a71200ffe5edf43596bc2fbf3276737e086a /src/backend/utils/adt/numutils.c | |
parent | 30856a390457682db4f8577e9f5a7f8521839c6f (diff) | |
download | postgresql-5379b84eff3ae207635d7ac9527b0a3f5eb272e7.tar.gz postgresql-5379b84eff3ae207635d7ac9527b0a3f5eb272e7.zip |
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 :)
Diffstat (limited to 'src/backend/utils/adt/numutils.c')
-rw-r--r-- | src/backend/utils/adt/numutils.c | 9 |
1 files changed, 6 insertions, 3 deletions
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 <string.h> #endif -#include <port-protos.h> /* ecvt(), fcvt() */ + +#ifndef HAVE_FCVT +# include <port-protos.h> /* 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 |