diff options
author | José Fonseca <[email protected]> | 2010-09-13 09:24:09 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-09-13 09:24:09 +0100 |
commit | b97c75e6a3a95be503f0509be0791a21b4d0f8d8 (patch) | |
tree | c6b64df10d0adef877eb9254ffcd433b1129868e /src | |
parent | 6990148b1241336a22dace3c160952c4a64879c5 (diff) |
llvmpipe: use gcc asm only with gcc
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup_tri.c | 2 |
1 files changed, 1 insertions, 1 deletions
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" |