ntdll/tests: Remove useless ifdef statements.

This commit is contained in:
Andrew Nguyen 2010-01-15 11:46:39 -06:00 committed by Alexandre Julliard
parent 063da0a183
commit 83dbc3d46a
1 changed files with 0 additions and 5 deletions

View File

@ -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
}