]> git.sesse.net Git - vlc/blobdiff - include/vlc_network.h
Check for SSE2 at build-time if possible
[vlc] / include / vlc_network.h
index 431dfd59b0428a79af78391d3648b89207567368..5a4764ff48b6c3ad7a2030ce42f403f215ea561b 100644 (file)
@@ -39,7 +39,6 @@
 #   endif
 #   include <winsock2.h>
 #   include <ws2tcpip.h>
-#   define ENETUNREACH WSAENETUNREACH
 #   define net_errno (WSAGetLastError())
 extern const char *net_strerror( int val );
 
@@ -82,7 +81,7 @@ struct msghdr
 #   undef IPV6_JOIN_GROUP
 #endif
 
-int vlc_socket (int, int, int, bool nonblock) VLC_USED;
+VLC_API int vlc_socket (int, int, int, bool nonblock) VLC_USED;
 
 struct sockaddr;
 VLC_API int vlc_accept( int, struct sockaddr *, socklen_t *, bool ) VLC_USED;