ntdll/tests: Only declare pointer when needed
André Hentschel
nerv at dawncrow.de
Sun Nov 6 08:08:37 CST 2011
---
dlls/ntdll/tests/info.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/tests/info.c b/dlls/ntdll/tests/info.c
index ec1ce3d..82e2b93 100644
--- a/dlls/ntdll/tests/info.c
+++ b/dlls/ntdll/tests/info.c
@@ -1160,7 +1160,9 @@ static void test_mapprotection(void)
LARGE_INTEGER size, offset;
NTSTATUS status;
SIZE_T retlen, count;
+#if defined(__x86_64__) || defined(__i386__)
void (*f)(void);
+#endif
if (!pNtClose) {
skip("No NtClose ... Win98\n");
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list