Skip to content
Snippets Groups Projects
Unverified Commit 7b1c5c95 authored by Adrien Béraud's avatar Adrien Béraud Committed by Simon Désaulniers
Browse files

infohash: merge Windows includes

parent c8fd11d0
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
typedef uint16_t in_port_t; typedef uint16_t in_port_t;
#endif #endif
#else #else
#include <iso646.h>
#include <ws2tcpip.h> #include <ws2tcpip.h>
typedef uint16_t sa_family_t; typedef uint16_t sa_family_t;
typedef uint16_t in_port_t; typedef uint16_t in_port_t;
...@@ -41,9 +42,6 @@ typedef uint16_t in_port_t; ...@@ -41,9 +42,6 @@ typedef uint16_t in_port_t;
#include <stdexcept> #include <stdexcept>
#include <cstring> #include <cstring>
#ifdef _WIN32
#include <iso646.h>
#endif
// bytes // bytes
#define HASH_LEN 20u #define HASH_LEN 20u
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment