]> git.sesse.net Git - vlc/commit
poll(): ifndef HAVE_POLL means we don't use poll(), not that it doesn't exist. In...
authorDerk-Jan Hartman <hartman@videolan.org>
Wed, 6 Aug 2008 14:58:02 +0000 (16:58 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Wed, 6 Aug 2008 14:58:02 +0000 (16:58 +0200)
commitd934fc525f6be873a56c54dd97d0aa8f5fead910
tree74d9c5772a297cd4272b30143ec319398431c16f
parent401d2c11b21cc41a845a64d33d8d917f713e9a8c
poll(): ifndef HAVE_POLL means we don't use poll(), not that it doesn't exist. In OSX poll() is broken for sockets, so we don't use it. Since poll is a kernel function in OSX however, the kernel implementation was used whenever we used poll(), instead of VLCs private poll() which was the intended behaviour. Renamed poll() to vlc_poll() to prevent this.

This fixes #1687, receiving SAPs on Mac OS X.
include/vlc_fixups.h
include/vlc_network.h
src/extras/libc.c
src/libvlc.h
src/libvlccore.sym
src/network/poll.c