diff options
author | 2013-07-19 20:33:36 +0000 | |
---|---|---|
committer | 2013-07-19 20:33:36 +0000 | |
commit | f131cdeeb0ace4284cc3d6b1a93c7f9290591e86 (patch) | |
tree | 94c75e6b12fc5cc8dce1283f6bc7e161a747f4c9 /src | |
parent | ab56cdabbd870ad015f1eb99a03585c0b212b952 (diff) |
missing M_PI include needed on Windows
git-svn-id: http://skia.googlecode.com/svn/trunk@10209 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkBitmapFilter.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/SkBitmapFilter.h b/src/core/SkBitmapFilter.h index 6a9e3d7c01..dc4de15335 100644 --- a/src/core/SkBitmapFilter.h +++ b/src/core/SkBitmapFilter.h @@ -12,6 +12,10 @@ #include "SkMath.h" + +#define _USE_MATH_DEFINES +#include <math.h> + // size of the precomputed bitmap filter tables for high quality filtering. // Used to precompute the shape of the filter kernel. // Table size chosen from experiments to see where I could start to see a difference. |