* win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not

already defined.
This commit is contained in:
Joel Brobecker
2009-01-09 10:45:42 +00:00
parent 5732a50095
commit 5851ab761b
3 changed files with 17 additions and 0 deletions

View File

@@ -85,6 +85,12 @@ enum
#endif
#include <psapi.h>
#ifndef CONTEXT_EXTENDED_REGISTERS
/* This macro is only defined on ia32. It only makes sense on this target,
so define it as zero if not already defined. */
#define CONTEXT_EXTENDED_REGISTERS 0
#endif
#define CONTEXT_DEBUGGER_DR CONTEXT_DEBUGGER | CONTEXT_DEBUG_REGISTERS \
| CONTEXT_EXTENDED_REGISTERS