Index: src/core/SkOpts.cpp |
diff --git a/src/core/SkOpts.cpp b/src/core/SkOpts.cpp |
index 1be8b40fd1dad5e6a275d1cb7e5e62588dd21d84..781977ea68406e01b5db022eb53aa464f2e86f2f 100644 |
--- a/src/core/SkOpts.cpp |
+++ b/src/core/SkOpts.cpp |
@@ -20,7 +20,7 @@ |
#include "SkUtils_opts.h" |
#include "SkXfermode_opts.h" |
-#if defined(SK_CPU_X86) |
+#if defined(SK_CPU_X86) && !defined(SK_BUILD_FOR_IOS) |
#if defined(SK_BUILD_FOR_WIN32) |
#include <intrin.h> |
static void cpuid (uint32_t abcd[4]) { __cpuid ((int*)abcd, 1); } |