Commit 83dbc3d4 authored by Andrew Nguyen's avatar Andrew Nguyen Committed by Alexandre Julliard

ntdll/tests: Remove useless ifdef statements.

parent 063da0a1
...@@ -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
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment