mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user