fsutil/tests: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-02-03 12:04:16 +01:00 committed by Alexandre Julliard
parent 18100a15a0
commit 9111ef38c8
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,3 @@
EXTRADEFS = -DWINE_NO_LONG_TYPES
TESTDLL = fsutil.exe
IMPORTS = advapi32 user32

View File

@ -97,7 +97,7 @@ static void test_hardlink(void)
FILE_ATTRIBUTE_NORMAL, NULL);
ok(hfile != INVALID_HANDLE_VALUE, "failed to open the hardlink\n");
boolrc = GetFileInformationByHandle(hfile, &info);
ok(boolrc, "failed to get info about hardlink, error %#x\n", GetLastError());
ok(boolrc, "failed to get info about hardlink, error %#lx\n", GetLastError());
CloseHandle(hfile);
ok(info.nNumberOfLinks == 2, "our link is not a hardlink\n");
@ -109,9 +109,9 @@ static void test_hardlink(void)
ok(rc == 1, "fsutil didn't complain about nonexisting source file\n");
boolrc = DeleteFileA("link");
ok(boolrc, "failed to delete the hardlink, error %#x\n", GetLastError());
ok(boolrc, "failed to delete the hardlink, error %#lx\n", GetLastError());
boolrc = DeleteFileA("file");
ok(boolrc, "failed to delete the file, error %#x\n", GetLastError());
ok(boolrc, "failed to delete the file, error %#lx\n", GetLastError());
}
START_TEST(fsutil)