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
0dff81f4
Commit
0dff81f4
authored
Oct 15, 2013
by
Huw Davies
Committed by
Alexandre Julliard
Oct 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wsock32: Add a fallback for inet_network.
parent
9273a671
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
0 deletions
+7
-0
configure
configure
+1
-0
configure.ac
configure.ac
+1
-0
protocol.c
dlls/wsock32/protocol.c
+2
-0
config.h.in
include/config.h.in
+3
-0
No files found.
configure
View file @
0dff81f4
...
...
@@ -14338,6 +14338,7 @@ for ac_func in \
getprotobyname
\
getprotobynumber
\
getservbyport
\
inet_addr
\
inet_network
\
inet_ntop
\
inet_pton
\
...
...
configure.ac
View file @
0dff81f4
...
...
@@ -2130,6 +2130,7 @@ AC_CHECK_FUNCS(\
getprotobyname \
getprotobynumber \
getservbyport \
inet_addr \
inet_network \
inet_ntop \
inet_pton \
...
...
dlls/wsock32/protocol.c
View file @
0dff81f4
...
...
@@ -51,6 +51,8 @@ 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
...
...
include/config.h.in
View file @
0dff81f4
...
...
@@ -264,6 +264,9 @@
/* Define to 1 if you have the `if_nameindex' function. */
#undef HAVE_IF_NAMEINDEX
/* Define to 1 if you have the `inet_addr' function. */
#undef HAVE_INET_ADDR
/* Define to 1 if you have the <inet/mib2.h> header file. */
#undef HAVE_INET_MIB2_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