On Mon, 2 Jan 2006 17:42:49 +0100 "Ge van Geldorp" <gvg(a)reactos.org>
waved a wand and this message magically appeared:
The patch below (no change needed to
w32api/include/ddk/winddk.h anymore)
works OK on both "old" and "new" GNU toolchain. I assume it works
with the
MS PSDK too, but haven't tested that.
GvG
Index: include/ndk/asm.h
===================================================================
--- include/ndk/asm.h (revision 20528)
+++ include/ndk/asm.h (working copy)
@@ -291,7 +291,9 @@
#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
This works; but you also need to put a #ifndef guard around EFLAG_ZERO
as well.
--
http://www.munted.org.uk
Anyone that thinks an imaginary deity is going to protect them against
earthquakes and hurricanes needs psychiatric help.