summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/cpuinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/cpuinfo.c')
-rw-r--r--src/mesa/main/cpuinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/cpuinfo.c b/src/mesa/main/cpuinfo.c
index 8d482a6ac14..73e295c75b7 100644
--- a/src/mesa/main/cpuinfo.c
+++ b/src/mesa/main/cpuinfo.c
@@ -34,7 +34,7 @@
void
_mesa_get_cpu_features(void)
{
-#ifdef USE_X86_ASM
+#if defined USE_X86_ASM || (defined __x86_64__ && !defined _MSC_VER)
_mesa_get_x86_features();
#endif
}