mirror of https://github.com/mpv-player/mpv
Remove unused test for round().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23766 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
eafb15f3a1
commit
558311493f
|
@ -2701,19 +2701,6 @@ else
|
||||||
fi
|
fi
|
||||||
echores "$_lrintf"
|
echores "$_lrintf"
|
||||||
|
|
||||||
echocheck "round"
|
|
||||||
cat > $TMPC << EOF
|
|
||||||
#include <math.h>
|
|
||||||
int main(void) { (void) round(0.0); return 0; }
|
|
||||||
EOF
|
|
||||||
_round=no
|
|
||||||
cc_check $_ld_lm && _round=yes
|
|
||||||
if test "$_round" = yes ; then
|
|
||||||
_def_round="#define HAVE_ROUND 1"
|
|
||||||
else
|
|
||||||
_def_round="#undef HAVE_ROUND"
|
|
||||||
fi
|
|
||||||
echores "$_round"
|
|
||||||
|
|
||||||
echocheck "nanosleep"
|
echocheck "nanosleep"
|
||||||
# also check for nanosleep
|
# also check for nanosleep
|
||||||
|
@ -8085,9 +8072,6 @@ $_def_vcd
|
||||||
/* C99 lrintf function available */
|
/* C99 lrintf function available */
|
||||||
$_def_lrintf
|
$_def_lrintf
|
||||||
|
|
||||||
/* round function is available */
|
|
||||||
$_def_round
|
|
||||||
|
|
||||||
/* yes, we have inttypes.h */
|
/* yes, we have inttypes.h */
|
||||||
#define HAVE_INTTYPES_H 1
|
#define HAVE_INTTYPES_H 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue