ntdll/tests/atom.c: Fix the compilation with the PSDK headers.
Francois Gouget
fgouget at free.fr
Mon Nov 6 17:47:22 CST 2006
The PSDK's winternl.h header is missing ATOM_BASIC_INFORMATION.
---
dlls/ntdll/tests/atom.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/tests/atom.c b/dlls/ntdll/tests/atom.c
old mode 100644
new mode 100755
index 1b3f161..f14ccbb
--- a/dlls/ntdll/tests/atom.c
+++ b/dlls/ntdll/tests/atom.c
@@ -427,6 +427,7 @@ static void test_NtRefPinAtom(void)
static void test_Global(void)
{
+#ifdef __WINE_WINTERNL_H
NTSTATUS res;
RTL_ATOM atom;
char ptr[sizeof(ATOM_BASIC_INFORMATION) + 255 * sizeof(WCHAR)];
@@ -464,6 +465,7 @@ static void test_Global(void)
ok(!res, "couldn't find atom\n");
ok(abi->NameLength == 8, "wrong string length %u\n", abi->NameLength);
ok(!memcmp(abi->Name, testAtom1, 8), "strings don't match\n");
+#endif
}
START_TEST(atom)
--
1.4.1.1
More information about the wine-patches
mailing list