mirror of https://github.com/mpv-player/mpv
Remove check for localtime_r, the function is not used within MPlayer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23674 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
17d2fa3aea
commit
b4be37acaf
|
@ -3439,20 +3439,6 @@ else
|
|||
fi
|
||||
echores "$_fseeko"
|
||||
|
||||
echocheck "localtime_r()"
|
||||
cat > $TMPC << EOF
|
||||
#include <time.h>
|
||||
int main( void ) { localtime_r(NULL, NULL); }
|
||||
EOF
|
||||
_localtime_r=no
|
||||
cc_check && _localtime_r=yes
|
||||
if test "$_localtime_r" = yes ; then
|
||||
_def_localtime_r='#define HAVE_LOCALTIME_R 1'
|
||||
else
|
||||
_def_localtime_r='#undef HAVE_LOCALTIME_R'
|
||||
fi
|
||||
echores "$_localtime_r"
|
||||
|
||||
echocheck "vsscanf()"
|
||||
cat > $TMPC << EOF
|
||||
#include <stdarg.h>
|
||||
|
@ -7910,8 +7896,6 @@ $_def_fseeko
|
|||
int fseeko(FILE *, off_t, int);
|
||||
#endif
|
||||
|
||||
$_def_localtime_r
|
||||
|
||||
/* Define this if your system has vsscanf */
|
||||
$_def_vsscanf
|
||||
|
||||
|
|
Loading…
Reference in New Issue