From 4adb49c9cf8ef335ed78a1527dd53cdc7e471582 Mon Sep 17 00:00:00 2001 From: Rafal Harabien Date: Sat, 9 Jul 2011 22:26:23 +0000 Subject: [PATCH] [NTDLL/LDR] - Fix build (not sure if its right place for IMAGE_LOADER_FLAGS_*) - Remove unused label svn path=/trunk/; revision=52593 --- reactos/dll/ntdll/include/ntdllp.h | 4 ++++ reactos/dll/ntdll/ldr/ldrutils.c | 1 - reactos/include/ddk/ntimage.h | 6 ++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/reactos/dll/ntdll/include/ntdllp.h b/reactos/dll/ntdll/include/ntdllp.h index d1f0bb5023a..1ef3757a32e 100644 --- a/reactos/dll/ntdll/include/ntdllp.h +++ b/reactos/dll/ntdll/include/ntdllp.h @@ -15,6 +15,10 @@ #define LDRP_UPDATE_DEREFCOUNT 0x02 #define LDRP_UPDATE_PIN 0x03 +/* Loader flags */ +#define IMAGE_LOADER_FLAGS_COMPLUS 0x00000001 +#define IMAGE_LOADER_FLAGS_SYSTEM_GLOBAL 0x01000000 + typedef struct _LDRP_TLS_DATA { LIST_ENTRY TlsLinks; diff --git a/reactos/dll/ntdll/ldr/ldrutils.c b/reactos/dll/ntdll/ldr/ldrutils.c index 24dcc17d48d..b1265d11a51 100644 --- a/reactos/dll/ntdll/ldr/ldrutils.c +++ b/reactos/dll/ntdll/ldr/ldrutils.c @@ -474,7 +474,6 @@ LdrpCreateDllSection(IN PUNICODE_STRING FullName, } } -Quickie: /* Close the file handle, we don't need it */ NtClose(FileHandle); diff --git a/reactos/include/ddk/ntimage.h b/reactos/include/ddk/ntimage.h index 2dac14a3053..b512a71d7cf 100644 --- a/reactos/include/ddk/ntimage.h +++ b/reactos/include/ddk/ntimage.h @@ -419,6 +419,12 @@ typedef PIMAGE_NT_HEADERS32 PIMAGE_NT_HEADERS; #define IMAGE_DLLCHARACTERISTICS_WDM_DRIVER 0x2000 #define IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE 0x8000 +// +// Loader Flags +// +#define IMAGE_LOADER_FLAGS_COMPLUS 0x00000001 +#define IMAGE_LOADER_FLAGS_SYSTEM_GLOBAL 0x01000000 + // // Directory Entry Specifiers //