From 9a8aeb23a19ee6833480d4c12719d9fd26ad8571 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Mon, 2 Aug 1999 05:25:27 +0000 Subject: Another 'mega-commit' of back-patches ... - integrating the #include file cleanup that Bruce recently did - got the CPU change to adt/Makefile - changing DOUBLEALIGN -> MAXALIGN --- src/backend/utils/adt/float.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/backend/utils/adt/float.c') diff --git a/src/backend/utils/adt/float.c b/src/backend/utils/adt/float.c index 5f2a4f15232..f9bf22625a3 100644 --- a/src/backend/utils/adt/float.c +++ b/src/backend/utils/adt/float.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.42 1999/05/25 16:12:02 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.42.2.1 1999/08/02 05:24:52 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -45,10 +45,7 @@ * for calls to pow(), exp() since on some machines (my Linux box * included) these routines do not set errno. - tgl 97/05/10 */ -#include /* for sprintf() */ -#include #include -#include #include #include /* faked on sunos4 */ @@ -60,8 +57,7 @@ #include #endif #include "fmgr.h" -#include "utils/builtins.h" /* for ftod() prototype */ -#include "utils/palloc.h" +#include "utils/builtins.h" #ifndef NAN #define NAN (0.0/0.0) @@ -134,7 +130,7 @@ extern double rint(double x); * until the distributions are updated. * --djm 12/16/96 */ -#if ( defined(linux) && defined(__alpha) ) && !defined(UNSAFE_FLOATS) +#if ( defined(linux) && defined(__alpha__) ) && !defined(UNSAFE_FLOATS) #define UNSAFE_FLOATS #endif -- cgit v1.2.3