Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
af2fee30
Commit
af2fee30
authored
May 20, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Declare gethostname for Windows builds.
parent
716a69c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
winsock.h
include/winsock.h
+5
-1
No files found.
include/winsock.h
View file @
af2fee30
...
...
@@ -1036,7 +1036,6 @@ int WINAPI WS(closesocket)(SOCKET);
int
WINAPI
WS
(
connect
)(
SOCKET
,
const
struct
WS
(
sockaddr
)
*
,
int
);
struct
WS
(
hostent
)
*
WINAPI
WS
(
gethostbyaddr
)(
const
char
*
,
int
,
int
);
struct
WS
(
hostent
)
*
WINAPI
WS
(
gethostbyname
)(
const
char
*
);
/* gethostname not defined because of conflicts with unistd.h */
int
WINAPI
WS
(
getpeername
)(
SOCKET
,
struct
WS
(
sockaddr
)
*
,
int
*
);
struct
WS
(
protoent
)
*
WINAPI
WS
(
getprotobyname
)(
const
char
*
);
struct
WS
(
protoent
)
*
WINAPI
WS
(
getprotobynumber
)(
int
);
...
...
@@ -1059,6 +1058,11 @@ int WINAPI WS(setsockopt)(SOCKET,int,int,const char*,int);
int
WINAPI
WS
(
shutdown
)(
SOCKET
,
int
);
SOCKET
WINAPI
WS
(
socket
)(
int
,
int
,
int
);
#if defined(__MINGW32__) || defined (_MSC_VER)
/* gethostname is not defined on Unix because of conflicts with unistd.h */
int
WINAPI
WS
(
gethostname
)(
char
*
,
int
);
#endif
#endif
/* !defined(__WINE_WINSOCK2__) || WS_API_PROTOTYPES */
#ifdef __cplusplus
...
...
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