ntdll/tests: Remove useless ifdef statements.
This commit is contained in:
parent
063da0a183
commit
83dbc3d46a
|
@ -20,8 +20,6 @@
|
|||
|
||||
#include "ntdll_test.h"
|
||||
|
||||
#ifdef __WINE_WINTERNL_H
|
||||
|
||||
#define TICKSPERSEC 10000000
|
||||
#define TICKSPERMSEC 10000
|
||||
#define SECSPERDAY 86400
|
||||
|
@ -95,15 +93,12 @@ static void test_pRtlTimeToTimeFields(void)
|
|||
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");
|
||||
pRtlTimeFieldsToTime = (void *)GetProcAddress(mod,"RtlTimeFieldsToTime");
|
||||
if (pRtlTimeToTimeFields && pRtlTimeFieldsToTime)
|
||||
test_pRtlTimeToTimeFields();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue