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
3b221485
Commit
3b221485
authored
Jan 02, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Fix a couple of winsock structures for 64-bit.
parent
253ccfbb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
winsock.h
include/winsock.h
+13
-6
No files found.
include/winsock.h
View file @
3b221485
...
...
@@ -144,9 +144,6 @@ typedef unsigned int u_long;
extern
"C"
{
#endif
/* defined(__cplusplus) */
/* proper 4-byte packing */
#include <pshpack4.h>
/*
* Address families
*/
...
...
@@ -365,8 +362,13 @@ typedef struct WS(servent)
{
char
*
s_name
;
/* official service name */
char
**
s_aliases
;
/* alias list */
#ifdef _WIN64
char
*
s_proto
;
/* protocol to use */
short
s_port
;
/* port # */
#else
short
s_port
;
/* port # */
char
*
s_proto
;
/* protocol to use */
#endif
}
SERVENT
,
*
PSERVENT
,
*
LPSERVENT
;
...
...
@@ -647,11 +649,19 @@ typedef struct WS(WSAData)
{
WORD
wVersion
;
WORD
wHighVersion
;
#ifdef _WIN64
WORD
iMaxSockets
;
WORD
iMaxUdpDg
;
char
*
lpVendorInfo
;
char
szDescription
[
WSADESCRIPTION_LEN
+
1
];
char
szSystemStatus
[
WSASYS_STATUS_LEN
+
1
];
#else
char
szDescription
[
WSADESCRIPTION_LEN
+
1
];
char
szSystemStatus
[
WSASYS_STATUS_LEN
+
1
];
WORD
iMaxSockets
;
WORD
iMaxUdpDg
;
char
*
lpVendorInfo
;
#endif
}
WSADATA
,
*
LPWSADATA
;
...
...
@@ -1051,9 +1061,6 @@ SOCKET WINAPI WS(socket)(int,int,int);
#endif
/* !defined(__WINE_WINSOCK2__) || WS_API_PROTOTYPES */
#include <poppack.h>
#ifdef __cplusplus
}
#endif
...
...
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