mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
Minor changes for NeXT compile
Submitted by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
This commit is contained in:
@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user