summaryrefslogtreecommitdiff
path: root/src/gallium/include/pipe/p_debug.h
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-24 13:56:41 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-24 13:56:41 +0900
commite8b52b3f5682c969e58077d42f5aebdad5d32e89 (patch)
treee91e08f43b5e916d11daf748701e1c4c243f451b /src/gallium/include/pipe/p_debug.h
parent0d947674305a349662b3ab57733c54f9f4c1a8b3 (diff)
gallium: Drop deprecated __MSC__ macro.
Diffstat (limited to 'src/gallium/include/pipe/p_debug.h')
-rw-r--r--src/gallium/include/pipe/p_debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/include/pipe/p_debug.h b/src/gallium/include/pipe/p_debug.h
index 9011557006..a5816c3cbb 100644
--- a/src/gallium/include/pipe/p_debug.h
+++ b/src/gallium/include/pipe/p_debug.h
@@ -132,9 +132,9 @@ void _debug_break(void);
* Hard-coded breakpoint.
*/
#ifdef DEBUG
-#if (defined(__i386__) || defined(__386__)) && defined(__GNUC__)
+#if defined(PIPE_ARCH_X86) && defined(PIPE_CC_GCC)
#define debug_break() __asm("int3")
-#elif defined(_M_IX86) && defined(_MSC_VER)
+#elif defined(PIPE_ARCH_X86) && defined(PIPE_CC_MSVC)
#define debug_break() do { _asm {int 3} } while(0)
#else
#define debug_break() _debug_break()