missing M_PI include needed on Windows
authorhumper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 19 Jul 2013 20:33:36 +0000 (20:33 +0000)
committerhumper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 19 Jul 2013 20:33:36 +0000 (20:33 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@10209 2bbb7eff-a529-9590-31e7-b0007b416f81

src/core/SkBitmapFilter.h

index 6a9e3d7..dc4de15 100644 (file)
 
 #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.