glsl: Avoid GLboolean vs bool arithmetic MSVC warnings.
[mesa.git] / src / mesa / main / cpuinfo.c
index 3b4ff8cd145a73f4293b97449d8dcb194a40ce8a..67f22ab9c81759fe509c46bc9127d59600792709 100644 (file)
@@ -1,6 +1,5 @@
 /*
  * Mesa 3-D graphics library
- * Version:  7.5
  *
  * Copyright (C) 2009  VMware, Inc.  All Rights Reserved.
  *
@@ -24,7 +23,7 @@
  */
 
 
-#include "main/compiler.h"
+#include "main/imports.h"
 #include "main/cpuinfo.h"
 
 
@@ -35,7 +34,7 @@
 void
 _mesa_get_cpu_features(void)
 {
-#ifdef USE_X86_ASM
+#if defined USE_X86_ASM || defined USE_X86_64_ASM
    _mesa_get_x86_features();
 #endif
 }