ntdll/tests: Skip test if LdrAddRefDll is missing.

This commit is contained in:
Alexandre Julliard 2013-10-15 18:37:05 +02:00
parent e011d0e3c7
commit 63092712c9

View file

@ -1494,6 +1494,12 @@ static void test_LdrAddRefDll(void)
NTSTATUS status;
BOOL ret;
if (!pLdrAddRefDll)
{
win_skip( "LdrAddRefDll not supported\n" );
return;
}
mod = LoadLibraryA("comctl32.dll");
ok(mod != NULL, "got %p\n", mod);
ret = FreeLibrary(mod);