Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
701ab7dd
Commit
701ab7dd
authored
Jan 23, 2003
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Jan 23, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve portability wrt. struct sockaddr_ipx.
parent
66fd8c29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
socket.c
dlls/winsock/socket.c
+7
-1
No files found.
dlls/winsock/socket.c
View file @
701ab7dd
...
...
@@ -120,6 +120,10 @@
#include "wine/server.h"
#include "wine/debug.h"
#ifdef __FreeBSD__
# define sipx_network sipx_addr.x_net
# define sipx_node sipx_addr.x_host
#endif
/* __FreeBSD__ */
WINE_DEFAULT_DEBUG_CHANNEL
(
winsock
);
...
...
@@ -878,8 +882,10 @@ static const struct sockaddr* ws_sockaddr_ws2u(const struct WS_sockaddr* wsaddr,
* in one go
*/
memcpy
(
&
uipx
->
sipx_network
,
wsipx
->
sa_netnum
,
sizeof
(
uipx
->
sipx_network
)
+
sizeof
(
uipx
->
sipx_node
));
#ifdef IPX_FRAME_NONE
uipx
->
sipx_type
=
IPX_FRAME_NONE
;
uipx
->
sipx_zero
=
0
;
#endif
memset
(
&
uipx
->
sipx_zero
,
0
,
sizeof
uipx
->
sipx_zero
);
return
(
const
struct
sockaddr
*
)
uipx
;
}
#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