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
12a12958
Commit
12a12958
authored
Nov 25, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Use the Unix call helpers.
parent
006eae34
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
7 deletions
+2
-7
protocol.c
dlls/ws2_32/protocol.c
+1
-3
socket.c
dlls/ws2_32/socket.c
+1
-2
ws2_32_private.h
dlls/ws2_32/ws2_32_private.h
+0
-2
No files found.
dlls/ws2_32/protocol.c
View file @
12a12958
...
...
@@ -27,9 +27,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
winsock
);
WINE_DECLARE_DEBUG_CHANNEL
(
winediag
);
unixlib_handle_t
ws_unix_handle
=
0
;
#define WS_CALL(func, params) __wine_unix_call( ws_unix_handle, ws_unix_ ## func, params )
#define WS_CALL(func, params) WINE_UNIX_CALL( ws_unix_ ## func, params )
static
char
*
get_fqdn
(
void
)
{
...
...
dlls/ws2_32/socket.c
View file @
12a12958
...
...
@@ -582,8 +582,7 @@ BOOL WINAPI DllMain( HINSTANCE instance, DWORD reason, void *reserved )
switch
(
reason
)
{
case
DLL_PROCESS_ATTACH
:
return
!
NtQueryVirtualMemory
(
GetCurrentProcess
(),
instance
,
MemoryWineUnixFuncs
,
&
ws_unix_handle
,
sizeof
(
ws_unix_handle
),
NULL
);
return
!
__wine_init_unix_call
();
case
DLL_THREAD_DETACH
:
free_per_thread_data
();
...
...
dlls/ws2_32/ws2_32_private.h
View file @
12a12958
...
...
@@ -145,6 +145,4 @@ enum ws_unix_funcs
ws_unix_getnameinfo
,
};
extern
unixlib_handle_t
ws_unix_handle
DECLSPEC_HIDDEN
;
#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