Minor changes for NeXT compile
Submitted by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
This commit is contained in:
parent
3d53b87369
commit
151d484ca5
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.7 1996/11/06 06:49:48 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.8 1997/01/06 00:20:11 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
@ -69,16 +69,18 @@ extern double atof(const char *p);
|
|||
#endif
|
||||
|
||||
#ifdef NEED_CBRT
|
||||
#define cbrt my_cbrt
|
||||
static double cbrt(double x);
|
||||
# define cbrt my_cbrt
|
||||
static double cbrt(double x);
|
||||
#else /* NEED_CBRT */
|
||||
extern double cbrt(double x);
|
||||
# if !defined(next)
|
||||
extern double cbrt(double x);
|
||||
# endif
|
||||
#endif /* NEED_CBRT */
|
||||
|
||||
#ifdef NEED_RINT
|
||||
#define rint my_rint
|
||||
static double rint(double x);
|
||||
#else /* NEED_RINT */
|
||||
else /* NEED_RINT */
|
||||
extern double rint(double x);
|
||||
#endif /* NEED_RINT */
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.9 1996/12/16 03:34:52 bryanh Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.10 1997/01/06 00:20:13 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
@ -18,7 +18,6 @@
|
|||
#include <sys/timeb.h>
|
||||
#include "postgres.h"
|
||||
#include "access/xact.h"
|
||||
#include "utils/palloc.h"
|
||||
|
||||
#define MAXDATEFIELDS 25
|
||||
|
||||
|
|
Loading…
Reference in New Issue