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
13a1d405
Commit
13a1d405
authored
May 10, 2017
by
Józef Kucia
Committed by
Alexandre Julliard
May 10, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ipconfig: Fix compilation on systems that don't support nameless unions.
Signed-off-by:
Józef Kucia
<
jkucia@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d7dcb965
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
ipconfig.c
programs/ipconfig/ipconfig.c
+3
-1
No files found.
programs/ipconfig/ipconfig.c
View file @
13a1d405
...
...
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define NONAMELESSUNION
#include <winsock2.h>
#include <windows.h>
#include <iphlpapi.h>
...
...
@@ -339,7 +341,7 @@ static void print_full_information(void)
print_field
(
STRING_CONN_DNS_SUFFIX
,
p
->
DnsSuffix
);
print_field
(
STRING_DESCRIPTION
,
p
->
Description
);
print_field
(
STRING_PHYS_ADDR
,
physaddr_to_string
(
physaddr_buf
,
p
->
PhysicalAddress
,
p
->
PhysicalAddressLength
));
print_field
(
STRING_DHCP_ENABLED
,
boolean_to_string
(
p
->
Flags
&
IP_ADAPTER_DHCP_ENABLED
));
print_field
(
STRING_DHCP_ENABLED
,
boolean_to_string
(
p
->
u1
.
Flags
&
IP_ADAPTER_DHCP_ENABLED
));
/* FIXME: Output autoconfiguration status. */
...
...
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