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