From 066cb740fb8766d4adb8319b97f5f86d3a33651e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 26 Sep 2013 00:05:17 +0300 Subject: fix compilation on Android. --- src/utils/cpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/cpu.cpp b/src/utils/cpu.cpp index e4615b4dd..6dfd5a98c 100644 --- a/src/utils/cpu.cpp +++ b/src/utils/cpu.cpp @@ -30,7 +30,7 @@ int mCpuFlags = 0; void Cpu::detect() { -#if defined(__GNUC__) && (GCC_VERSION >= 40800) +#if defined(__GNUC__) && (GCC_VERSION >= 40800) && !defined(ANDROID) __builtin_cpu_init(); if (__builtin_cpu_supports ("mmx")) mCpuFlags |= FEATURE_MMX; -- cgit v1.2.3-70-g09d2