Skip to content

Commit 3c872d0

Browse files
committed
fix Issue 24130 - ImportC: Windows headers use inline asm with different syntax
1 parent ad0b7ef commit 3c872d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

druntime/src/importc.h

+1
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
#define __ptr64
123123
#define __unaligned
124124
#define _NO_CRT_STDIO_INLINE 1
125+
#define _M_CEE_PURE 1 /* Our inline assembler is different from MSC's */
125126

126127
// This header disables the Windows API Annotations macros
127128
// Need to include sal.h to get the pragma once to prevent macro redefinition.

0 commit comments

Comments
 (0)