From: Alex Ionescu
Doing this change would break compiling with the MS PSDK. Suggestions?
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
//
// CR0