Skip to content

Commit

Permalink
Merge pull request #111 from anacrolix/shutdown-constants-windows
Browse files Browse the repository at this point in the history
Provide shutdown constants on Windows
  • Loading branch information
ssiloti committed May 15, 2018
2 parents 53faf77 + 5ebfece commit 2b364cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utp_types.h
Expand Up @@ -49,6 +49,9 @@
#include <winsock2.h>
#include <ws2tcpip.h>
#define IP_OPT_DONTFRAG IP_DONTFRAGMENT
#define SHUT_RD SD_RECEIVE
#define SHUT_WR SD_SEND
#define SHUT_RDWR SD_BOTH
#else
#include <netinet/in.h>
#include <arpa/inet.h>
Expand Down

0 comments on commit 2b364cb

Please sign in to comment.