From b97c75e6a3a95be503f0509be0791a21b4d0f8d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Mon, 13 Sep 2010 09:24:09 +0100 Subject: [PATCH] llvmpipe: use gcc asm only with gcc --- src/gallium/drivers/llvmpipe/lp_setup_tri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/llvmpipe/lp_setup_tri.c b/src/gallium/drivers/llvmpipe/lp_setup_tri.c index 2cd10ed4201..f0c74f8040a 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup_tri.c +++ b/src/gallium/drivers/llvmpipe/lp_setup_tri.c @@ -445,7 +445,7 @@ do_triangle_ccw(struct lp_setup_context *setup, * * Undefined if no zero exists, so code should check against ~0UL first. */ -#if defined(PIPE_ARCH_X86) +#if defined(PIPE_CC_GCC) && defined(PIPE_ARCH_X86) static inline unsigned fls(unsigned word) { asm("bsr %1,%0" -- 2.30.2