mirror of
https://github.com/reactos/reactos.git
synced 2026-06-03 01:41:13 +08:00
[NTDLL_WINETEST] Fix a problem with broken calling convention
This commit is contained in:
@@ -426,6 +426,17 @@ static void test_RtlByteSwap(void)
|
||||
"ntdll.RtlUlongByteSwap() returns %#lx\n", lresult );
|
||||
}
|
||||
|
||||
#ifdef __REACTOS__
|
||||
/* On older Windows versions, RtlUlonglongByteSwap has a broken calling convention! */
|
||||
RTL_OSVERSIONINFOEXW verInfo = { sizeof(verInfo) };
|
||||
RtlGetVersion(&verInfo);
|
||||
if (verInfo.dwMajorVersion < 10)
|
||||
{
|
||||
skip("Skipping RtlUlonglongByteSwap test due to broken calling convention\n");
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
ok( pRtlUlonglongByteSwap != NULL, "RtlUlonglongByteSwap is not available\n");
|
||||
if ( pRtlUlonglongByteSwap )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user