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
f7478816
Commit
f7478816
authored
Oct 30, 2004
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 30, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#ifdef out the tests if compiling with the Platform SDK headers since
they are missing TIME_FIELDS.
parent
5c033dad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
time.c
dlls/ntdll/tests/time.c
+6
-0
No files found.
dlls/ntdll/tests/time.c
View file @
f7478816
...
...
@@ -19,6 +19,9 @@
*/
#include "ntdll_test.h"
#ifdef __WINE_WINTERNL_H
#define TICKSPERSEC 10000000
#define TICKSPERMSEC 10000
#define SECSPERDAY 86400
...
...
@@ -79,11 +82,14 @@ static void test_pRtlTimeToTimeFields()
litime
.
QuadPart
+=
(
LONGLONG
)
tftest
.
Day
*
TICKSPERSEC
*
SECSPERDAY
;
}
}
#endif
START_TEST
(
time
)
{
#ifdef __WINE_WINTERNL_H
HMODULE
mod
=
GetModuleHandleA
(
"ntdll.dll"
);
pRtlTimeToTimeFields
=
(
void
*
)
GetProcAddress
(
mod
,
"RtlTimeToTimeFields"
);
if
(
pRtlTimeToTimeFields
)
test_pRtlTimeToTimeFields
();
#endif
}
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