mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
gallium: Use the more portable PIPE_ARCH_* PIPE_CC_* macros instead of ad-hoc ones.
This commit is contained in:
parent
72b6fddefb
commit
d9f38a2ad1
1 changed files with 2 additions and 2 deletions
|
|
@ -100,9 +100,9 @@ void debug_print_blob( const char *name,
|
|||
|
||||
void _debug_break(void)
|
||||
{
|
||||
#if (defined(__i386__) || defined(__386__)) && defined(__GNUC__)
|
||||
#if defined(PIPE_ARCH_X86) && defined(PIPE_CC_GCC)
|
||||
__asm("int3");
|
||||
#elif (defined(__i386__) || defined(__386__)) && defined(__MSC__)
|
||||
#elif defined(PIPE_ARCH_X86) && defined(PIPE_CC_MSVC)
|
||||
_asm {int 3};
|
||||
#elif defined(PIPE_SUBSYSTEM_WINDOWS_DISPLAY)
|
||||
EngDebugBreak();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue