aboutsummaryrefslogtreecommitdiff
path: root/src/win32_compatibility.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32_compatibility.h')
-rw-r--r--src/win32_compatibility.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/win32_compatibility.h b/src/win32_compatibility.h
index 36613d1..2cce888 100644
--- a/src/win32_compatibility.h
+++ b/src/win32_compatibility.h
@@ -63,6 +63,7 @@ namespace Bu
63 decltype( int, select, int nfds, fd_set *readfds, fd_set *writefds, 63 decltype( int, select, int nfds, fd_set *readfds, fd_set *writefds,
64 fd_set *exceptfds, const struct timeval *timeout ); 64 fd_set *exceptfds, const struct timeval *timeout );
65 decltype( SOCKET, socket, int domain, int type, int protocol ); 65 decltype( SOCKET, socket, int domain, int type, int protocol );
66 decltype( int, shutdown, SOCKET s, int how );
66 decltype( int, ioctlsocket, SOCKET s, long cmd, u_long *argp ); 67 decltype( int, ioctlsocket, SOCKET s, long cmd, u_long *argp );
67 decltype( u_short, htons, u_short in ); 68 decltype( u_short, htons, u_short in );
68 decltype( u_long, htonl, u_long in ); 69 decltype( u_long, htonl, u_long in );
@@ -101,6 +102,7 @@ namespace Bu
101#define bu_inet_addr (*Bu::Winsock2::inet_addr) 102#define bu_inet_addr (*Bu::Winsock2::inet_addr)
102#define bu_select (*Bu::Winsock2::select) 103#define bu_select (*Bu::Winsock2::select)
103#define bu_socket (*Bu::Winsock2::socket) 104#define bu_socket (*Bu::Winsock2::socket)
105#define bu_shutdown (*Bu::Winsock2::shutdown)
104#define bu_ioctlsocket (*Bu::Winsock2::ioctlsocket) 106#define bu_ioctlsocket (*Bu::Winsock2::ioctlsocket)
105#define bu_htons (*Bu::Winsock2::htons) 107#define bu_htons (*Bu::Winsock2::htons)
106#define bu_htonl (*Bu::Winsock2::htonl) 108#define bu_htonl (*Bu::Winsock2::htonl)