diff options
author | José Fonseca <[email protected]> | 2008-06-24 01:26:22 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-06-24 02:39:17 +0900 |
commit | d9f38a2ad1477cc6aeb94c083ab439b8c704be2e (patch) | |
tree | 563d0a123e21e2e93dcc62a4317dac3c75b89098 /src/gallium/auxiliary | |
parent | 72b6fddefb15b98499eda422a30a1e92da4c2850 (diff) |
gallium: Use the more portable PIPE_ARCH_* PIPE_CC_* macros instead of ad-hoc ones.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/util/p_debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/p_debug.c b/src/gallium/auxiliary/util/p_debug.c index 9d56f8bfabf..b1106a5e55f 100644 --- a/src/gallium/auxiliary/util/p_debug.c +++ b/src/gallium/auxiliary/util/p_debug.c @@ -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(); |