Skip to contentSkip to conversation

sna: Fix comment on GCC version check

PATCH New Sedat Dilek 1 participant 1 message Feb 26, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sna: Fix comment on GCC version check

The comment was introduced with...

commit 528dbf9ebb2688f476ef283be59d0f2232159dcb
"sna: Fix build on older GCC for cpuid()"

...and is a bit misleading.

[ v2: Point to compatibility with gcc-v4 (e.g. clang) ]

---
 src/sna/sna_cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/sna/sna_cpu.c +1 -1
index 9110456..3ee4be0 100644
@@ -31,7 +31,7 @@
 
 #include "sna.h"
 
-#if defined(__GNUC__) && (__GNUC__ >= 4) /* 4.4 */
+#if defined(__GNUC__) && (__GNUC__ >= 4) /* compiler compatible with gcc-v4 */
 
 #include <cpuid.h>
 
Signature · 1 line
1.8.1.4