diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-27 17:46:55 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-27 17:46:55 +0000 |
commit | f08ad3f8ef1ac3a38a92f793fa1cbc1d2d443095 (patch) | |
tree | a0469a2ed43a7f70d33583a74de24de5428f34eb /src/sna/sna_cpu.c | |
parent | 8aea4ae127f92c07e3ce86b6d2afaa207a6cdce9 (diff) |
sna: Prettify GCC version detection in headers
And fixup a basic error in the process.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_cpu.c')
-rw-r--r-- | src/sna/sna_cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_cpu.c b/src/sna/sna_cpu.c index 05d61274..ce69a39c 100644 --- a/src/sna/sna_cpu.c +++ b/src/sna/sna_cpu.c @@ -31,7 +31,7 @@ #include "sna.h" -#if defined(__GNUC__) && (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >=4) +#if HAS_GCC(4, 4) #include <cpuid.h> |