We now only compile the ELF loader if _ELF_ is defined (both because this isn't a standard Windows feature, and because the current code is completely not portable with ARM)

svn path=/trunk/; revision=32177
This commit is contained in:
ReactOS Portable Systems Group 2008-02-07 06:36:31 +00:00
parent 2c43803e7a
commit d54c5304b2
2 changed files with 9 additions and 2 deletions

View file

@ -2631,7 +2631,9 @@ extern NTSTATUS NTAPI ElfFmtCreateSection
static PEXEFMT_LOADER ExeFmtpLoaders[] =
{
PeFmtCreateSection,
#ifdef __ELF
ElfFmtCreateSection
#endif
};
static

View file

@ -13,6 +13,9 @@
<if property="_WINKD_" value="1">
<define name="_WINKD_" />
</if>
<if property="_ELF" value="1">
<define name="_ELF_" />
</if>
<include base="cmlib">.</include>
<include base="ntoskrnl">include</include>
<include base="ntoskrnl" root="intermediate"></include>
@ -357,8 +360,10 @@
<file>verifier.c</file>
<file>virtual.c</file>
<file>wset.c</file>
<file>elf32.c</file>
<file>elf64.c</file>
<if property="_ELF_" value="1">
<file>elf32.c</file>
<file>elf64.c</file>
</if>
</directory>
<directory name="ob">
<file>obdir.c</file>