Skip to content

Commit ce4bf13

Browse files
authored
Fix building CoreCLR for x86 with the Windows 10.0.20348.0 SDK (#57067)
The SDK now defines CONTEXT_UNWOUND_TO_CALL in more cases, so we get a macro redefinition error. Since the SDK defines it to the same value as we do, just skip our definition if it's already defined.
1 parent 9455436 commit ce4bf13

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/coreclr/inc/crosscomp.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141
#define ARM_MAX_BREAKPOINTS 8
4242
#define ARM_MAX_WATCHPOINTS 1
4343

44+
#ifndef CONTEXT_UNWOUND_TO_CALL
4445
#define CONTEXT_UNWOUND_TO_CALL 0x20000000
46+
#endif
4547

4648
#if !defined(HOST_ARM64)
4749
typedef struct _NEON128 {

0 commit comments

Comments
 (0)