From 90b5342fb8f85650be635ce20c03fdf4ebf2b400 Mon Sep 17 00:00:00 2001 From: Austin English Date: Mon, 23 Aug 2010 11:11:34 -0500 Subject: [PATCH] kernel32/tests: Sparc fixes. --- dlls/kernel32/tests/file.c | 2 ++ dlls/kernel32/tests/loader.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/dlls/kernel32/tests/file.c b/dlls/kernel32/tests/file.c index 7cebbc7403a..033e53ea5c8 100644 --- a/dlls/kernel32/tests/file.c +++ b/dlls/kernel32/tests/file.c @@ -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 diff --git a/dlls/kernel32/tests/loader.c b/dlls/kernel32/tests/loader.c index 9361ed58c12..5da70c8ea22 100644 --- a/dlls/kernel32/tests/loader.c +++ b/dlls/kernel32/tests/loader.c @@ -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