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
7f23bbe7
Commit
7f23bbe7
authored
Jun 19, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iphlpapi: Check if getifaddrs really exists.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4e49ae3c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
1 deletion
+6
-1
configure
configure
+1
-0
configure.ac
configure.ac
+1
-0
ifenum.c
dlls/iphlpapi/ifenum.c
+1
-1
config.h.in
include/config.h.in
+3
-0
No files found.
configure
View file @
7f23bbe7
...
...
@@ -15403,6 +15403,7 @@ for ac_func in \
futimesat
\
getattrlist
\
getauxval
\
getifaddrs
\
getopt_long_only
\
getpwuid
\
gettimeofday
\
...
...
configure.ac
View file @
7f23bbe7
...
...
@@ -2047,6 +2047,7 @@ AC_CHECK_FUNCS(\
futimesat \
getattrlist \
getauxval \
getifaddrs \
getopt_long_only \
getpwuid \
gettimeofday \
...
...
dlls/iphlpapi/ifenum.c
View file @
7f23bbe7
...
...
@@ -815,7 +815,7 @@ static DWORD getIPAddrRowByName(PMIB_IPADDRROW ipAddrRow, const char *ifName,
return
ret
;
}
#if
def HAVE_IFADDRS_H
#if
defined(HAVE_IFADDRS_H) && defined(HAVE_GETIFADDRS)
/* Counts the IPv4 addresses in the system using the return value from
* getifaddrs, returning the count.
...
...
include/config.h.in
View file @
7f23bbe7
...
...
@@ -204,6 +204,9 @@
/* Define to 1 if you have the `getauxval' function. */
#undef HAVE_GETAUXVAL
/* Define to 1 if you have the `getifaddrs' function. */
#undef HAVE_GETIFADDRS
/* Define to 1 if you have the `getnameinfo' function. */
#undef HAVE_GETNAMEINFO
...
...
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