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
25d3bc30
Commit
25d3bc30
authored
May 10, 2017
by
Hans Leidekker
Committed by
Alexandre Julliard
May 10, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netprofm: Fix compilation on systems that don't support nameless unions.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c6e46934
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
list.c
dlls/netprofm/list.c
+3
-1
No files found.
dlls/netprofm/list.c
View file @
25d3bc30
...
@@ -18,6 +18,8 @@
...
@@ -18,6 +18,8 @@
*/
*/
#define COBJMACROS
#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "config.h"
#include "config.h"
#include <stdarg.h>
#include <stdarg.h>
...
@@ -1693,7 +1695,7 @@ static void init_networks( struct list_manager *mgr )
...
@@ -1693,7 +1695,7 @@ static void init_networks( struct list_manager *mgr )
struct
network
*
network
;
struct
network
*
network
;
struct
connection
*
connection
;
struct
connection
*
connection
;
id
.
Data1
=
aa
->
IfIndex
;
id
.
Data1
=
aa
->
u
.
s
.
IfIndex
;
/* assume a one-to-one mapping between networks and connections */
/* assume a one-to-one mapping between networks and connections */
if
(
!
(
network
=
create_network
(
&
id
)))
goto
done
;
if
(
!
(
network
=
create_network
(
&
id
)))
goto
done
;
...
...
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