From f131cdeeb0ace4284cc3d6b1a93c7f9290591e86 Mon Sep 17 00:00:00 2001 From: "humper@google.com" Date: Fri, 19 Jul 2013 20:33:36 +0000 Subject: missing M_PI include needed on Windows git-svn-id: http://skia.googlecode.com/svn/trunk@10209 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/core/SkBitmapFilter.h | 4 ++++ 1 file changed, 4 insertions(+) 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 + // 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. -- cgit v1.2.3