mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 10:52:52 +00:00
[HEADERS/CRT]
* Work around an issue with clang and __debugbreak(). They mark __debugbreak as built-in (so we can't use ours) but it's not supported yet (so if we use nothing we get an error). svn path=/trunk/; revision=53958
This commit is contained in:
parent
b1ed2b25fe
commit
8065202a81
|
@ -1204,10 +1204,14 @@ __INTRIN_INLINE uintptr_t __readeflags(void)
|
|||
}
|
||||
|
||||
/*** Interrupts ***/
|
||||
#ifdef __clang__
|
||||
#define __debugbreak() __asm__("int $3")
|
||||
#else
|
||||
__INTRIN_INLINE void __debugbreak(void)
|
||||
{
|
||||
__asm__("int $3");
|
||||
}
|
||||
#endif
|
||||
|
||||
__INTRIN_INLINE void __int2c(void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue