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
2490feba
Commit
2490feba
authored
Jun 27, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wsock32: Build with msvcrt.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
454c4e59
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
28 deletions
+3
-28
Makefile.in
dlls/wsock32/Makefile.in
+2
-0
protocol.c
dlls/wsock32/protocol.c
+1
-24
service.c
dlls/wsock32/service.c
+0
-2
socket.c
dlls/wsock32/socket.c
+0
-2
No files found.
dlls/wsock32/Makefile.in
View file @
2490feba
...
...
@@ -2,6 +2,8 @@ MODULE = wsock32.dll
IMPORTLIB
=
wsock32
IMPORTS
=
mswsock ws2_32 iphlpapi
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
protocol.c
\
service.c
\
...
...
dlls/wsock32/protocol.c
View file @
2490feba
...
...
@@ -19,20 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define USE_WS_PREFIX
#include "config.h"
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#include "windef.h"
#include "winbase.h"
...
...
@@ -40,7 +27,6 @@
#include "nspapi.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
winsock
);
...
...
@@ -49,13 +35,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(winsock);
*/
UINT
WINAPI
WSOCK32_inet_network
(
const
char
*
cp
)
{
#ifdef HAVE_INET_NETWORK
return
inet_network
(
cp
);
#elif defined(HAVE_INET_ADDR)
return
ntohl
(
inet_addr
(
cp
)
);
#else
return
0
;
#endif
}
/*****************************************************************************
...
...
@@ -63,11 +43,8 @@ UINT WINAPI WSOCK32_inet_network(const char *cp)
*/
struct
netent
*
WINAPI
WSOCK32_getnetbyname
(
const
char
*
name
)
{
#ifdef HAVE_GETNETBYNAME
return
getnetbyname
(
name
);
#else
ERR
(
"%s: not supported
\n
"
,
debugstr_a
(
name
)
);
return
NULL
;
#endif
}
static
DWORD
map_service
(
DWORD
wsaflags
)
...
...
dlls/wsock32/service.c
View file @
2490feba
...
...
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
#include "windef.h"
...
...
dlls/wsock32/socket.c
View file @
2490feba
...
...
@@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
#include "windef.h"
...
...
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