aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/util/u_math.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_math.h b/src/gallium/auxiliary/util/u_math.h
index 7687100ae65..5db5b669961 100644
--- a/src/gallium/auxiliary/util/u_math.h
+++ b/src/gallium/auxiliary/util/u_math.h
@@ -584,6 +584,7 @@ u_bit_scan(unsigned *mask)
return i;
}
+#ifndef _MSC_VER
static INLINE int
u_bit_scan64(uint64_t *mask)
{
@@ -591,6 +592,7 @@ u_bit_scan64(uint64_t *mask)
*mask &= ~(1llu << i);
return i;
}
+#endif
/**
* Return float bits.