mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 00:27:16 +00:00
imagehlp/tests: Fix a test failure on Win95.
This commit is contained in:
parent
ecca543ff2
commit
780ae3a6e4
|
@ -250,6 +250,15 @@ START_TEST(integrity)
|
||||||
}
|
}
|
||||||
|
|
||||||
file_size_orig = get_file_size();
|
file_size_orig = get_file_size();
|
||||||
|
/*
|
||||||
|
* Align file_size_orig to an 8-byte boundary. This avoids tests failures where
|
||||||
|
* the original dll is not correctly aligned (but when written to it will be).
|
||||||
|
*/
|
||||||
|
if (file_size_orig % 8 != 0)
|
||||||
|
{
|
||||||
|
skip("We need to align to an 8-byte boundary\n");
|
||||||
|
file_size_orig = (file_size_orig + 7) & ~7;
|
||||||
|
}
|
||||||
|
|
||||||
pImageAddCertificate = (void *) GetProcAddress(hImageHlp, "ImageAddCertificate");
|
pImageAddCertificate = (void *) GetProcAddress(hImageHlp, "ImageAddCertificate");
|
||||||
pImageEnumerateCertificates = (void *) GetProcAddress(hImageHlp, "ImageEnumerateCertificates");
|
pImageEnumerateCertificates = (void *) GetProcAddress(hImageHlp, "ImageEnumerateCertificates");
|
||||||
|
|
Loading…
Reference in a new issue