Commit 151d484c authored by Marc G. Fournier's avatar Marc G. Fournier

Minor changes for NeXT compile

Submitted by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
parent 3d53b873
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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); ...@@ -69,16 +69,18 @@ extern double atof(const char *p);
#endif #endif
#ifdef NEED_CBRT #ifdef NEED_CBRT
#define cbrt my_cbrt # define cbrt my_cbrt
static double cbrt(double x); static double cbrt(double x);
#else /* NEED_CBRT */ #else /* NEED_CBRT */
extern double cbrt(double x); # if !defined(next)
extern double cbrt(double x);
# endif
#endif /* NEED_CBRT */ #endif /* NEED_CBRT */
#ifdef NEED_RINT #ifdef NEED_RINT
#define rint my_rint #define rint my_rint
static double rint(double x); static double rint(double x);
#else /* NEED_RINT */ else /* NEED_RINT */
extern double rint(double x); extern double rint(double x);
#endif /* NEED_RINT */ #endif /* NEED_RINT */
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 @@ ...@@ -18,7 +18,6 @@
#include <sys/timeb.h> #include <sys/timeb.h>
#include "postgres.h" #include "postgres.h"
#include "access/xact.h" #include "access/xact.h"
#include "utils/palloc.h"
#define MAXDATEFIELDS 25 #define MAXDATEFIELDS 25
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment