kernel32/tests: Sparc fixes.
This commit is contained in:
parent
b3b55ea4fa
commit
90b5342fb8
|
@ -1727,6 +1727,8 @@ static BOOL create_fake_dll( LPCSTR filename )
|
|||
nt->FileHeader.Machine = IMAGE_FILE_MACHINE_AMD64;
|
||||
#elif defined __powerpc__
|
||||
nt->FileHeader.Machine = IMAGE_FILE_MACHINE_POWERPC;
|
||||
#elif defined __sparc__
|
||||
nt->FileHeader.Machine = IMAGE_FILE_MACHINE_SPARC;
|
||||
#else
|
||||
# error You must specify the machine type
|
||||
#endif
|
||||
|
|
|
@ -54,6 +54,8 @@ static IMAGE_NT_HEADERS nt_header =
|
|||
IMAGE_FILE_MACHINE_AMD64, /* Machine */
|
||||
#elif defined __powerpc__
|
||||
IMAGE_FILE_MACHINE_POWERPC, /* Machine */
|
||||
#elif defined __sparc__
|
||||
IMAGE_FILE_MACHINE_SPARC, /* Machine */
|
||||
#else
|
||||
# error You must specify the machine type
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue