From cac2d912d97321bf43b2d6c50fa67154763ce5c5 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 2 Jan 2007 21:25:50 +0000 Subject: finite() no longer used; remove finite() platform-specific infrastructure. --- src/include/pg_config.h.in | 3 --- src/include/port/win32.h | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'src/include') diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index a75f1dccfa..a8e8014b8a 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -116,9 +116,6 @@ /* Define to 1 if you have the `fdatasync' function. */ #undef HAVE_FDATASYNC -/* Define to 1 if you have finite(). */ -#undef HAVE_FINITE - /* Define to 1 if you have the `fpclass' function. */ #undef HAVE_FPCLASS diff --git a/src/include/port/win32.h b/src/include/port/win32.h index b23123bc4a..eb086fc043 100644 --- a/src/include/port/win32.h +++ b/src/include/port/win32.h @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.63 2006/10/19 20:03:08 tgl Exp $ */ +/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.64 2007/01/02 21:25:50 momjian Exp $ */ #if defined(_MSC_VER) || defined(__BORLANDC__) #define WIN32_ONLY_COMPILER @@ -287,7 +287,6 @@ typedef unsigned short mode_t; #define isinf(x) ((_fpclass(x) == _FPCLASS_PINF) || (_fpclass(x) == _FPCLASS_NINF)) #define isnan(x) _isnan(x) -#define finite(x) _finite(x) #ifndef BIG_ENDIAN #define BIG_ENDIAN 4321 -- cgit v1.2.1