Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
e7761bb1
Commit
e7761bb1
authored
Feb 12, 2022
by
Deucе
👌🏾
Browse files
Fix Win32 harder
parent
d2eda12d
Pipeline
#2719
failed with stage
in 17 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/xpdev/genwrap.c
src/xpdev/genwrap.c
+2
-1
No files found.
src/xpdev/genwrap.c
View file @
e7761bb1
...
...
@@ -844,8 +844,9 @@ uint64_t xp_timer64(void)
#elif defined(_WIN32)
LARGE_INTEGER
freq
;
LARGE_INTEGER
tick
;
if
(
QueryPerformanceFrequency
(
&
freq
)
&&
QueryPerformanceCounter
(
&
tick
))
{
static
BOOL
intable
=
(
freq
%
1000
)
==
0
;
static
BOOL
intable
=
(
freq
.
QuadPart
%
1000
)
==
0
;
if
(
intable
)
ret
=
tick
.
QuadPart
/
(
freq
.
QuadPart
/
1000
);
else
...
...
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