From d54c5304b237c95c8c2a058cfe9e68d54816749e Mon Sep 17 00:00:00 2001 From: ReactOS Portable Systems Group Date: Thu, 7 Feb 2008 06:36:31 +0000 Subject: [PATCH] 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 --- reactos/ntoskrnl/mm/section.c | 2 ++ reactos/ntoskrnl/ntoskrnl.rbuild | 9 +++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/mm/section.c b/reactos/ntoskrnl/mm/section.c index c8b26702da9..262efcdaadd 100644 --- a/reactos/ntoskrnl/mm/section.c +++ b/reactos/ntoskrnl/mm/section.c @@ -2631,7 +2631,9 @@ extern NTSTATUS NTAPI ElfFmtCreateSection static PEXEFMT_LOADER ExeFmtpLoaders[] = { PeFmtCreateSection, +#ifdef __ELF ElfFmtCreateSection +#endif }; static diff --git a/reactos/ntoskrnl/ntoskrnl.rbuild b/reactos/ntoskrnl/ntoskrnl.rbuild index 6a8e47416c8..c5a10c1ad46 100644 --- a/reactos/ntoskrnl/ntoskrnl.rbuild +++ b/reactos/ntoskrnl/ntoskrnl.rbuild @@ -13,6 +13,9 @@ + + + . include @@ -357,8 +360,10 @@ verifier.c virtual.c wset.c - elf32.c - elf64.c + + elf32.c + elf64.c + obdir.c -- 2.17.1