diff options
author | 2013-04-29 15:10:44 +0000 | |
---|---|---|
committer | 2013-04-29 15:10:44 +0000 | |
commit | de58012f65997323306ff59cec33f5eccf905759 (patch) | |
tree | a5bd13e616da88e65128f07289632dfeaa732a17 /include | |
parent | 7729534da419436ea6127545e9f79b0b47ccffb4 (diff) |
temp work-around for mysterious failure of shadertext2 when using __builtin_clz
git-svn-id: http://skia.googlecode.com/svn/trunk@8900 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkMath.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkMath.h b/include/core/SkMath.h index 2da1a3a921..6505b08594 100644 --- a/include/core/SkMath.h +++ b/include/core/SkMath.h @@ -53,8 +53,8 @@ int SkCLZ_portable(uint32_t); return 32; } } - #elif defined(SK_CPU_ARM) || defined(__GNUC__) - #define SkCLZ(x) __builtin_clz(x) + #elif defined(SK_CPU_ARM) + #define SkCLZ(mask) __builtin_clz(mask) #else #define SkCLZ(x) SkCLZ_portable(x) #endif |