http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c033da
)
#ifdef out the tests if compiling with the Platform SDK headers since
author
Francois Gouget
<fgouget@free.fr>
Sat, 30 Oct 2004 02:10:38 +0000
(
02:10
+0000)
committer
Alexandre Julliard
<julliard@winehq.org>
Sat, 30 Oct 2004 02:10:38 +0000
(
02:10
+0000)
they are missing TIME_FIELDS.
dlls/ntdll/tests/time.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/ntdll/tests/time.c
b/dlls/ntdll/tests/time.c
index 5672de579bf3867dd565483bb3d0279c354b345d..f4b89d2f93e8d433bd969d4377a2de9a024c7a01 100644
(file)
--- a/
dlls/ntdll/tests/time.c
+++ b/
dlls/ntdll/tests/time.c
@@
-19,6
+19,9
@@
*/
#include "ntdll_test.h"
+
+#ifdef __WINE_WINTERNL_H
+
#define TICKSPERSEC 10000000
#define TICKSPERMSEC 10000
#define SECSPERDAY 86400
@@
-79,11
+82,14
@@
static void test_pRtlTimeToTimeFields()
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");
if (pRtlTimeToTimeFields)
test_pRtlTimeToTimeFields();
+#endif
}