Commit 909417ea authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

vlc_network: vlc_poll is always exported. Don't put it behind an ifdef.

parent 6feaa530
......@@ -180,10 +180,11 @@ struct pollfd
int events;
int revents;
};
VLC_EXPORT (int, vlc_poll, (struct pollfd *fds, unsigned nfds, int timeout));
# define poll(a, b, c) vlc_poll(a, b, c)
#endif
struct pollfd;
VLC_EXPORT (int, vlc_poll, (struct pollfd *fds, unsigned nfds, int timeout));
#ifdef WIN32
/* Microsoft: same semantic, same value, different name... go figure */
......
......@@ -26,6 +26,7 @@
#endif
#include <vlc_common.h>
#include <vlc_network.h>
#ifdef HAVE_POLL
struct pollfd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment