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 @@ ...@@ -30,6 +30,7 @@
# include <sys/socket.h> # include <sys/socket.h>
#else #else
# include <winsock2.h> # include <winsock2.h>
# undef EAFNOSUPPORT
# define EAFNOSUPPORT WSAEAFNOSUPPORT # define EAFNOSUPPORT WSAEAFNOSUPPORT
#endif #endif
......
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
#include <vlc_network.h> #include <vlc_network.h>
#ifdef _WIN32 #ifdef _WIN32
# undef EAFNOSUPPORT
# define EAFNOSUPPORT WSAEAFNOSUPPORT # define EAFNOSUPPORT WSAEAFNOSUPPORT
#else #else
# include <unistd.h> # 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