Debian Codegraph @

mingw-w64-tools/widl/patches/0002-fastfail.patch

raw
1 diff --git a/mingw-w64-tools/widl/include/winnt.h b/mingw-w64-tools/widl/include/winnt.h
2 index 14cfe64af..e2971ba2b 100644
3 --- a/mingw-w64-tools/widl/include/winnt.h
4 +++ b/mingw-w64-tools/widl/include/winnt.h
5 @@ -6768,6 +6768,7 @@ static FORCEINLINE void WriteNoFence( LONG volatile *dest, LONG value )
6 __WINE_ATOMIC_STORE_RELAXED( dest, &value );
7 }
8
9 +#if !defined(__MINGW_FASTFAIL_IMPL)
10 static FORCEINLINE DECLSPEC_NORETURN void __fastfail(unsigned int code)
11 {
12 #if defined(__x86_64__) || defined(__i386__)
13 @@ -6780,6 +6781,7 @@ static FORCEINLINE DECLSPEC_NORETURN void __fastfail(unsigned int code)
14 for (;;) __asm__ __volatile__( "udf #0xfb" :: "r" (val) : "memory" );
15 #endif
16 }
17 +#endif
18
19 #endif /* __GNUC__ */
20