Commit 43416529 authored by Marc G. Fournier's avatar Marc G. Fournier

isinf() doesn't exist under i386_solaris, so code it such that

it is (!isnan() && !finite()) instead
parent 06356b89
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# be converted to Method 2. # be converted to Method 2.
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/Attic/Makefile.in,v 1.13 1998/01/13 15:31:09 scrappy Exp $ # $Header: /cvsroot/pgsql/src/backend/port/Attic/Makefile.in,v 1.14 1998/01/13 19:21:40 scrappy Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -25,7 +25,7 @@ INCLUDE_OPT = -I.. ...@@ -25,7 +25,7 @@ INCLUDE_OPT = -I..
CFLAGS+= ${INCLUDE_OPT} CFLAGS+= ${INCLUDE_OPT}
OBJS = dynloader.o @INET_ATON@ @STRERROR@ @MISSING_RANDOM@ @SRANDOM@ OBJS = dynloader.o @INET_ATON@ @STRERROR@ @MISSING_RANDOM@ @SRANDOM@
OBJS+= @GETHOSTNAME@ @GETRUSAGE@ @STRCASECMP@ @STRDUP@ @TAS@ OBJS+= @GETHOSTNAME@ @GETRUSAGE@ @STRCASECMP@ @STRDUP@ @TAS@ @ISINF@
all: SUBSYS.o all: SUBSYS.o
......
This diff is collapsed.
...@@ -461,8 +461,11 @@ AC_PROG_GCC_TRADITIONAL ...@@ -461,8 +461,11 @@ AC_PROG_GCC_TRADITIONAL
AC_FUNC_MEMCMP AC_FUNC_MEMCMP
AC_TYPE_SIGNAL AC_TYPE_SIGNAL
AC_FUNC_VPRINTF AC_FUNC_VPRINTF
AC_CHECK_FUNCS(isinf tzset vfork memmove sigsetjmp kill sysconf) AC_CHECK_FUNCS(tzset vfork memmove sigsetjmp kill sysconf)
AC_CHECK_FUNCS(sigprocmask waitpid setsid fcvt) AC_CHECK_FUNCS(sigprocmask waitpid setsid fcvt)
AC_CHECK_FUNC(isinf,
AC_DEFINE(HAVE_ISINF),
ISINF='isinf.o')
AC_CHECK_FUNC(getrusage, AC_CHECK_FUNC(getrusage,
AC_DEFINE(HAVE_GETRUSAGE), AC_DEFINE(HAVE_GETRUSAGE),
GETRUSAGE='getrusage.o') GETRUSAGE='getrusage.o')
......
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