kernel32: Add ARM support.

This commit is contained in:
André Hentschel 2010-09-18 18:01:59 +02:00 committed by Alexandre Julliard
parent bbfc0d1d64
commit ee3a6770b8
2 changed files with 4 additions and 0 deletions

View File

@ -1729,6 +1729,8 @@ static BOOL create_fake_dll( LPCSTR filename )
nt->FileHeader.Machine = IMAGE_FILE_MACHINE_POWERPC;
#elif defined __sparc__
nt->FileHeader.Machine = IMAGE_FILE_MACHINE_SPARC;
#elif defined __arm__
nt->FileHeader.Machine = IMAGE_FILE_MACHINE_ARM;
#else
# error You must specify the machine type
#endif

View File

@ -56,6 +56,8 @@ static IMAGE_NT_HEADERS nt_header =
IMAGE_FILE_MACHINE_POWERPC, /* Machine */
#elif defined __sparc__
IMAGE_FILE_MACHINE_SPARC, /* Machine */
#elif defined __arm__
IMAGE_FILE_MACHINE_ARM, /* Machine */
#else
# error You must specify the machine type
#endif