Make this allow POWERPC as well.

svn path=/branches/powerpc/; revision=25333
This commit is contained in:
Art Yerkes
2007-01-06 20:01:20 +00:00
parent 0c8a94de76
commit 40d233d877
+4
View File
@@ -952,7 +952,11 @@ LdrSafePEProcessModule (
{
return NULL;
}
#ifdef _M_IX86
if (PENtHeaders->FileHeader.Machine != IMAGE_FILE_MACHINE_I386)
#elif defined(_M_PPC)
if (PENtHeaders->FileHeader.Machine != IMAGE_FILE_MACHINE_POWERPC)
#endif
{
return NULL;
}