[MPlayer-dev-eng] [PATCH] configure: always #define HAVE_{NANO, U, }SLEEP
Erik Auerswald
auerswal at unix-ag.uni-kl.de
Tue Jan 22 20:52:13 CET 2013
Hi,
the attached patch always defines HAVE_{NANO,U,}SLEEP constants.
On GNU/Linux this fixes the the -Wundef warnings for
ffmpeg/libavutil/time.c and on systems lacking nanosleep(), but having
usleep() or sleep() this fixes function av_usleep() from that file.
Thanks,
Erik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-configure-check_for_Xsleep_funcs.patch
Type: text/x-diff
Size: 1107 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20130122/ffa23782/attachment.bin>
More information about the MPlayer-dev-eng
mailing list