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
9e881be5
Commit
9e881be5
authored
Apr 01, 2002
by
Francois Gouget
Committed by
Alexandre Julliard
Apr 01, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for the unistd.h vs. winsock.h problem in Winelib applications.
Refine the WS_DEFINE_HTONL definition.
parent
37f2c376
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
ws2_32.spec
dlls/winsock/ws2_32.spec
+1
-1
wsock32.spec
dlls/wsock32/wsock32.spec
+1
-1
winsock.h
include/winsock.h
+2
-2
No files found.
dlls/winsock/ws2_32.spec
View file @
9e881be5
...
...
@@ -69,7 +69,7 @@ debug_channels (winsock)
54 stdcall getprotobynumber(long) WS_getprotobynumber
55 stdcall getservbyname(str str) WS_getservbyname
56 stdcall getservbyport(long str) WS_getservbyport
57 stdcall gethostname(ptr long) WS_gethostname
57 stdcall
-noimport
gethostname(ptr long) WS_gethostname
58 stub WSAJoinLeaf
59 stub WSALookupServiceBeginA
60 stub WSALookupServiceBeginW
...
...
dlls/wsock32/wsock32.spec
View file @
9e881be5
...
...
@@ -36,7 +36,7 @@ debug_channels (winsock)
54 forward getprotobynumber ws2_32.getprotobynumber
55 forward getservbyname ws2_32.getservbyname
56 forward getservbyport ws2_32.getservbyport
57 forward gethostname ws2_32.gethostname
57 forward
-noimport
gethostname ws2_32.gethostname
101 forward WSAAsyncSelect ws2_32.WSAAsyncSelect
102 forward WSAAsyncGetHostByAddr ws2_32.WSAAsyncGetHostByAddr
103 forward WSAAsyncGetHostByName ws2_32.WSAAsyncGetHostByName
...
...
include/winsock.h
View file @
9e881be5
...
...
@@ -65,7 +65,7 @@ extern "C" {
* we try to define our own prototypes (different calling convention).
*/
# include <sys/types.h>
# if
ndef htonl
# if
defined(USE_WS_PREFIX) || !defined(htonl)
# define WS_DEFINE_HTONL
# endif
/* htonl */
#else
...
...
@@ -913,7 +913,7 @@ 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
*
);
int
WINAPI
WS
(
gethostname
)(
char
*
,
int
);
/* 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
);
...
...
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