Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
f12e781c
Commit
f12e781c
authored
Jul 18, 2017
by
Xingjian Shi
Committed by
Tianqi Chen
Jul 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build in windows (#256)
parent
8e51af2f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/common/socket.h
+1
-1
No files found.
src/common/socket.h
View file @
f12e781c
...
...
@@ -10,6 +10,7 @@
#if defined(_WIN32)
#include <winsock2.h>
#include <ws2tcpip.h>
using
ssize_t
=
int
;
#ifdef _MSC_VER
#pragma comment(lib, "Ws2_32.lib")
#endif
...
...
@@ -100,7 +101,6 @@ struct SockAddr {
class
Socket
{
public
:
#if defined(_WIN32)
using
ssize_t
=
int
;
using
sock_size_t
=
int
;
using
SockType
=
SOCKET
;
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment