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
f3c092f7
Commit
f3c092f7
authored
Aug 31, 2010
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 31, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Fix compilation on systems that don't support nameless unions or structs.
parent
394b0897
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
process.c
dlls/kernel32/tests/process.c
+5
-5
No files found.
dlls/kernel32/tests/process.c
View file @
f3c092f7
...
...
@@ -1810,11 +1810,11 @@ static void test_SystemInfo(void)
pGetNativeSystemInfo
(
&
nsi
);
if
(
is_wow64
)
{
if
(
si
.
wProcessorArchitecture
==
PROCESSOR_ARCHITECTURE_INTEL
)
if
(
S
(
U
(
si
))
.
wProcessorArchitecture
==
PROCESSOR_ARCHITECTURE_INTEL
)
{
ok
(
nsi
.
wProcessorArchitecture
==
PROCESSOR_ARCHITECTURE_AMD64
,
ok
(
S
(
U
(
nsi
))
.
wProcessorArchitecture
==
PROCESSOR_ARCHITECTURE_AMD64
,
"Expected PROCESSOR_ARCHITECTURE_AMD64, got %d
\n
"
,
nsi
.
wProcessorArchitecture
);
S
(
U
(
nsi
))
.
wProcessorArchitecture
);
ok
(
nsi
.
dwProcessorType
==
PROCESSOR_AMD_X8664
,
"Expected PROCESSOR_AMD_X8664, got %d
\n
"
,
nsi
.
dwProcessorType
);
...
...
@@ -1822,9 +1822,9 @@ static void test_SystemInfo(void)
}
else
{
ok
(
si
.
wProcessorArchitecture
==
nsi
.
wProcessorArchitecture
,
ok
(
S
(
U
(
si
)).
wProcessorArchitecture
==
S
(
U
(
nsi
))
.
wProcessorArchitecture
,
"Expected no difference for wProcessorArchitecture, got %d and %d
\n
"
,
si
.
wProcessorArchitecture
,
nsi
.
wProcessorArchitecture
);
S
(
U
(
si
)).
wProcessorArchitecture
,
S
(
U
(
nsi
))
.
wProcessorArchitecture
);
ok
(
si
.
dwProcessorType
==
nsi
.
dwProcessorType
,
"Expected no difference for dwProcessorType, got %d and %d
\n
"
,
si
.
dwProcessorType
,
nsi
.
dwProcessorType
);
...
...
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