From 6f306a8b90ade8a73e792f8d6129ebe02f993eef Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Mon, 2 Jan 2006 18:03:19 +0000 Subject: [PATCH] - Fix building with old binutils. Thanks to Ge for the fix. svn path=/trunk/; revision=20531 --- reactos/include/ndk/asm.h | 4 +++- reactos/include/ndk/extypes.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/reactos/include/ndk/asm.h b/reactos/include/ndk/asm.h index 9a7c13245e0..134967f16e0 100644 --- a/reactos/include/ndk/asm.h +++ b/reactos/include/ndk/asm.h @@ -291,7 +291,9 @@ Author: #define EFLAGS_VIP 0x100000 #define EFLAG_SIGN 0x8000 #define EFLAG_ZERO 0x4000 -#define EFLAG_SELECT (EFLAG_SIGN | EFLAG_ZERO) +#ifndef EFLAG_SELECT +#define EFLAG_SELECT (EFLAG_SIGN + EFLAG_ZERO) +#endif // // CR0 diff --git a/reactos/include/ndk/extypes.h b/reactos/include/ndk/extypes.h index 92203e93f7f..19d685c13e8 100644 --- a/reactos/include/ndk/extypes.h +++ b/reactos/include/ndk/extypes.h @@ -354,7 +354,7 @@ typedef struct _EX_PUSH_LOCK_WAIT_BLOCK LONG ShareCount; LONG Flags; #if DBG - BOOL Signaled; + BOOLEAN Signaled; EX_PUSH_LOCK NewValue; EX_PUSH_LOCK OldValue; PEX_PUSH_LOCK PushLock;