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
83dbc3d4
Commit
83dbc3d4
authored
Jan 15, 2010
by
Andrew Nguyen
Committed by
Alexandre Julliard
Jan 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Remove useless ifdef statements.
parent
063da0a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
time.c
dlls/ntdll/tests/time.c
+0
-5
No files found.
dlls/ntdll/tests/time.c
View file @
83dbc3d4
...
@@ -20,8 +20,6 @@
...
@@ -20,8 +20,6 @@
#include "ntdll_test.h"
#include "ntdll_test.h"
#ifdef __WINE_WINTERNL_H
#define TICKSPERSEC 10000000
#define TICKSPERSEC 10000000
#define TICKSPERMSEC 10000
#define TICKSPERMSEC 10000
#define SECSPERDAY 86400
#define SECSPERDAY 86400
...
@@ -95,15 +93,12 @@ static void test_pRtlTimeToTimeFields(void)
...
@@ -95,15 +93,12 @@ static void test_pRtlTimeToTimeFields(void)
litime
.
QuadPart
+=
(
LONGLONG
)
tftest
.
Day
*
TICKSPERSEC
*
SECSPERDAY
;
litime
.
QuadPart
+=
(
LONGLONG
)
tftest
.
Day
*
TICKSPERSEC
*
SECSPERDAY
;
}
}
}
}
#endif
START_TEST
(
time
)
START_TEST
(
time
)
{
{
#ifdef __WINE_WINTERNL_H
HMODULE
mod
=
GetModuleHandleA
(
"ntdll.dll"
);
HMODULE
mod
=
GetModuleHandleA
(
"ntdll.dll"
);
pRtlTimeToTimeFields
=
(
void
*
)
GetProcAddress
(
mod
,
"RtlTimeToTimeFields"
);
pRtlTimeToTimeFields
=
(
void
*
)
GetProcAddress
(
mod
,
"RtlTimeToTimeFields"
);
pRtlTimeFieldsToTime
=
(
void
*
)
GetProcAddress
(
mod
,
"RtlTimeFieldsToTime"
);
pRtlTimeFieldsToTime
=
(
void
*
)
GetProcAddress
(
mod
,
"RtlTimeFieldsToTime"
);
if
(
pRtlTimeToTimeFields
&&
pRtlTimeFieldsToTime
)
if
(
pRtlTimeToTimeFields
&&
pRtlTimeFieldsToTime
)
test_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