Andrew Nguyen : ntdll/tests: Remove useless ifdef statements.
Alexandre Julliard
julliard at winehq.org
Mon Jan 18 10:58:53 CST 2010
Module: wine
Branch: master
Commit: 83dbc3d46a86b1f93db3d924ade72bb1c6537b20
URL: http://source.winehq.org/git/wine.git/?a=commit;h=83dbc3d46a86b1f93db3d924ade72bb1c6537b20
Author: Andrew Nguyen <arethusa26 at gmail.com>
Date: Fri Jan 15 11:46:39 2010 -0600
ntdll/tests: Remove useless ifdef statements.
---
dlls/ntdll/tests/time.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/dlls/ntdll/tests/time.c b/dlls/ntdll/tests/time.c
index 2e9adbc..cecf4a2 100644
--- a/dlls/ntdll/tests/time.c
+++ b/dlls/ntdll/tests/time.c
@@ -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
}
More information about the wine-cvs
mailing list