mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Assume that we have rint().
Windows has this since _MSC_VER >= 1200, and so do all other live platforms according to the buildfarm, so remove the configure probe and src/port/ substitution. This is part of a series of commits to get rid of no-longer-relevant configure checks and dead src/port/ code. I'm committing them separately to make it easier to back out individual changes if they prove less portable than I expect. Discussion: https://postgr.es/m/15379.1582221614@sss.pgh.pa.us
This commit is contained in:
13
configure
vendored
13
configure
vendored
@ -15628,19 +15628,6 @@ esac
|
||||
|
||||
fi
|
||||
|
||||
ac_fn_c_check_func "$LINENO" "rint" "ac_cv_func_rint"
|
||||
if test "x$ac_cv_func_rint" = xyes; then :
|
||||
$as_echo "#define HAVE_RINT 1" >>confdefs.h
|
||||
|
||||
else
|
||||
case " $LIBOBJS " in
|
||||
*" rint.$ac_objext "* ) ;;
|
||||
*) LIBOBJS="$LIBOBJS rint.$ac_objext"
|
||||
;;
|
||||
esac
|
||||
|
||||
fi
|
||||
|
||||
ac_fn_c_check_func "$LINENO" "srandom" "ac_cv_func_srandom"
|
||||
if test "x$ac_cv_func_srandom" = xyes; then :
|
||||
$as_echo "#define HAVE_SRANDOM 1" >>confdefs.h
|
||||
|
Reference in New Issue
Block a user