diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-13 21:33:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-13 21:33:47 +0300 |
commit | 97e43ea4bb98f3fae87ac8dc8f4335bfaeff5876 (patch) | |
tree | ac115ab4218e241565154a6e53ffee3b0b1c5e15 | |
parent | 9c23f9fe8894ae429c3b1dff97e19ae471bea0bb (diff) | |
download | mv-97e43ea4bb98f3fae87ac8dc8f4335bfaeff5876.tar.gz mv-97e43ea4bb98f3fae87ac8dc8f4335bfaeff5876.tar.bz2 mv-97e43ea4bb98f3fae87ac8dc8f4335bfaeff5876.tar.xz mv-97e43ea4bb98f3fae87ac8dc8f4335bfaeff5876.zip |
Fix compilation for old compilers.
-rw-r--r-- | src/utils/cpu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/cpu.cpp b/src/utils/cpu.cpp index bef0d653d..e967a5672 100644 --- a/src/utils/cpu.cpp +++ b/src/utils/cpu.cpp @@ -32,7 +32,7 @@ int mCpuFlags = 0; void Cpu::detect() { -#ifdef __GNUC__ +#if defined(__GNUC__) && (GCC_VERSION >= 40800) __builtin_cpu_init(); if (__builtin_cpu_supports ("mmx")) mCpuFlags |= FEATURE_MMX; |