mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
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 :)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user