summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/cpuinfo.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2014-05-22 20:43:55 +0100
committerJosé Fonseca <jfonseca@vmware.com>2014-05-22 22:39:46 +0100
commitcfec135de7f604ffe14f7a7a78157697911519ec (patch)
treeeb3b69eda1b4b4ca0d6a4b47df3f5636edd0067b /src/mesa/main/cpuinfo.c
parentc59c8f036399fb90cbd148feac7a4bde187ecf9b (diff)
downloadexternal_mesa3d-cfec135de7f604ffe14f7a7a78157697911519ec.zip
external_mesa3d-cfec135de7f604ffe14f7a7a78157697911519ec.tar.gz
external_mesa3d-cfec135de7f604ffe14f7a7a78157697911519ec.tar.bz2
mesa: Rely on USE_X86_64_ASM.
This fixes MinGW x64 builds. We don't use assembly on any of the Windows builds, to avoid divergence between MSVC and MinGW when testing. Reviewed-by: Matt Turner <mattst88@gmail.com>
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 73e295c..0755d6b 100644
--- a/src/mesa/main/cpuinfo.c
+++ b/src/mesa/main/cpuinfo.c
@@ -34,7 +34,7 @@
void
_mesa_get_cpu_features(void)
{
-#if defined USE_X86_ASM || (defined __x86_64__ && !defined _MSC_VER)
+#if defined USE_X86_ASM || defined USE_X86_64_ASM
_mesa_get_x86_features();
#endif
}