Commit 40e1000f authored by Alexandre Julliard's avatar Alexandre Julliard

kernelbase: Use the correct machine type for ARM.

parent fa23ffd2
......@@ -2187,9 +2187,9 @@ static void test_IsWow64Process2(void)
#elif defined __x86_64__
USHORT expect_native = IMAGE_FILE_MACHINE_AMD64;
#elif defined __arm__
USHORT expect_native = IMAGE_FILE_MACHINE_ARM;
USHORT expect_native = IMAGE_FILE_MACHINE_ARMNT;
#elif defined __aarch64__
USHORT expect_native = IMAGE_FILE_MACHINE_ARM;
USHORT expect_native = IMAGE_FILE_MACHINE_ARM64;
#else
USHORT expect_native = 0;
#endif
......
......@@ -1002,7 +1002,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH IsWow64Process2( HANDLE process, USHORT *machine,
*native_machine = IMAGE_FILE_MACHINE_I386;
break;
case PROCESSOR_ARCHITECTURE_ARM:
*native_machine = IMAGE_FILE_MACHINE_ARM;
*native_machine = IMAGE_FILE_MACHINE_ARMNT;
break;
case PROCESSOR_ARCHITECTURE_AMD64:
*native_machine = IMAGE_FILE_MACHINE_AMD64;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment