Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
opendht
Commits
cf8d9ccd
Commit
cf8d9ccd
authored
8 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
infohash: merge Windows includes
parent
fdbdc91d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/opendht/infohash.h
+1
-3
1 addition, 3 deletions
include/opendht/infohash.h
with
1 addition
and
3 deletions
include/opendht/infohash.h
+
1
−
3
View file @
cf8d9ccd
...
...
@@ -28,6 +28,7 @@
typedef
uint16_t
in_port_t
;
#endif
#else
#include
<iso646.h>
#include
<ws2tcpip.h>
typedef
uint16_t
sa_family_t
;
typedef
uint16_t
in_port_t
;
...
...
@@ -41,9 +42,6 @@ typedef uint16_t in_port_t;
#include
<stdexcept>
#include
<cstring>
#ifdef _WIN32
#include
<iso646.h>
#endif
// bytes
#define HASH_LEN 20u
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment