From f25f86cc020e89ec58777cb2e0be0e51911f3ce1 Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Tue, 19 Jul 2005 20:55:13 +0000 Subject: [PATCH] - Fix LDR_DATA_TABLE_ENTRY definition. svn path=/trunk/; revision=16648 --- reactos/include/ndk/ldrtypes.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/reactos/include/ndk/ldrtypes.h b/reactos/include/ndk/ldrtypes.h index 14923d8debf..f84929dd29a 100644 --- a/reactos/include/ndk/ldrtypes.h +++ b/reactos/include/ndk/ldrtypes.h @@ -61,11 +61,17 @@ typedef struct _LDR_DATA_TABLE_ENTRY ULONG Flags; USHORT LoadCount; USHORT TlsIndex; - LIST_ENTRY HashLinks; - PVOID SectionPointer; + union + { + LIST_ENTRY HashLinks; + PVOID SectionPointer; + }; ULONG CheckSum; - ULONG TimeDateStamp; - PVOID LoadedImports; + union + { + ULONG TimeDateStamp; + PVOID LoadedImports; + }; PVOID EntryPointActivationContext; PVOID PatchInformation; #if defined(DBG) || defined(KDBG)