Commit a580223d authored by Felix Abecassis's avatar Felix Abecassis Committed by Rémi Denis-Courmont

network: undef EAFNOSUPPORT before overriding it.

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 48edfbb9
......@@ -30,6 +30,7 @@
# include <sys/socket.h>
#else
# include <winsock2.h>
# undef EAFNOSUPPORT
# define EAFNOSUPPORT WSAEAFNOSUPPORT
#endif
......
......@@ -39,6 +39,7 @@
#include <vlc_network.h>
#ifdef _WIN32
# undef EAFNOSUPPORT
# define EAFNOSUPPORT WSAEAFNOSUPPORT
#else
# include <unistd.h>
......
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