Module: wine Branch: master Commit: 8fd7c73a2bd253435aa31ee87526534beb7445ce URL: http://source.winehq.org/git/wine.git/?a=commit;h=8fd7c73a2bd253435aa31ee875... Author: André Hentschel <nerv(a)dawncrow.de> Date: Thu Nov 13 00:57:04 2014 +0100 ntdll/tests: Get rid of "defined but not used" warnings on non-x86(_64) platforms. --- dlls/ntdll/tests/exception.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c index 2074f0a..a94ed3a 100644 --- a/dlls/ntdll/tests/exception.c +++ b/dlls/ntdll/tests/exception.c @@ -1695,6 +1695,7 @@ static void test_dynamic_unwind(void) #endif /* __x86_64__ */ +#if defined(__i386__) || defined(__x86_64__) static DWORD outputdebugstring_exceptions; static LONG CALLBACK outputdebugstring_vectored_handler(EXCEPTION_POINTERS *ExceptionInfo) @@ -1787,6 +1788,7 @@ static void test_ripevent(DWORD numexc) pRtlRemoveVectoredExceptionHandler(vectored_handler); } +#endif /* defined(__i386__) || defined(__x86_64__) */ START_TEST(exception) {