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
cbeae4ca
Commit
cbeae4ca
authored
Oct 28, 2012
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
services: Fix compilation on systems that don't support nameless unions.
parent
fbe682a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
rpc.c
programs/services/rpc.c
+8
-8
No files found.
programs/services/rpc.c
View file @
cbeae4ca
...
...
@@ -118,11 +118,11 @@ static void run_after_timeout(void (*func)(struct service_entry*), struct servic
elem
->
service_entry
=
service
;
GetSystemTimeAsFileTime
(
&
elem
->
time
);
time
.
LowPart
=
elem
->
time
.
dwLowDateTime
;
time
.
HighPart
=
elem
->
time
.
dwHighDateTime
;
time
.
u
.
LowPart
=
elem
->
time
.
dwLowDateTime
;
time
.
u
.
HighPart
=
elem
->
time
.
dwHighDateTime
;
time
.
QuadPart
+=
timeout
*
10000000
;
elem
->
time
.
dwLowDateTime
=
time
.
LowPart
;
elem
->
time
.
dwHighDateTime
=
time
.
HighPart
;
elem
->
time
.
dwLowDateTime
=
time
.
u
.
LowPart
;
elem
->
time
.
dwHighDateTime
=
time
.
u
.
HighPart
;
EnterCriticalSection
(
&
timeout_queue_cs
);
list_add_head
(
&
timeout_queue
,
&
elem
->
entry
);
...
...
@@ -1640,8 +1640,8 @@ DWORD events_loop(void)
ULARGE_INTEGER
time
;
GetSystemTimeAsFileTime
(
&
cur_time
);
time
.
LowPart
=
cur_time
.
dwLowDateTime
;
time
.
HighPart
=
cur_time
.
dwHighDateTime
;
time
.
u
.
LowPart
=
cur_time
.
dwLowDateTime
;
time
.
u
.
HighPart
=
cur_time
.
dwHighDateTime
;
EnterCriticalSection
(
&
timeout_queue_cs
);
timeout
=
INFINITE
;
...
...
@@ -1661,8 +1661,8 @@ DWORD events_loop(void)
{
ULARGE_INTEGER
time_diff
;
time_diff
.
LowPart
=
iter
->
time
.
dwLowDateTime
;
time_diff
.
HighPart
=
iter
->
time
.
dwHighDateTime
;
time_diff
.
u
.
LowPart
=
iter
->
time
.
dwLowDateTime
;
time_diff
.
u
.
HighPart
=
iter
->
time
.
dwHighDateTime
;
time_diff
.
QuadPart
=
(
time_diff
.
QuadPart
-
time
.
QuadPart
)
/
10000
;
if
(
time_diff
.
QuadPart
<
timeout
)
...
...
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