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 ...@@ -180,10 +180,11 @@ struct pollfd
int events; int events;
int revents; int revents;
}; };
VLC_EXPORT (int, vlc_poll, (struct pollfd *fds, unsigned nfds, int timeout));
# define poll(a, b, c) vlc_poll(a, b, c) # define poll(a, b, c) vlc_poll(a, b, c)
#endif #endif
struct pollfd;
VLC_EXPORT (int, vlc_poll, (struct pollfd *fds, unsigned nfds, int timeout));
#ifdef WIN32 #ifdef WIN32
/* Microsoft: same semantic, same value, different name... go figure */ /* Microsoft: same semantic, same value, different name... go figure */
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#endif #endif
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_network.h>
#ifdef HAVE_POLL #ifdef HAVE_POLL
struct pollfd; 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