llvmpipe: use gcc asm only with gcc

This commit is contained in:
José Fonseca 2010-09-13 09:24:09 +01:00
parent 6990148b12
commit b97c75e6a3
1 changed files with 1 additions and 1 deletions

View File

@ -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"