kernel32/tests: Sparc fixes.

This commit is contained in:
Austin English 2010-08-23 11:11:34 -05:00 committed by Alexandre Julliard
parent b3b55ea4fa
commit 90b5342fb8
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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