#include <math.h> if SK_SCALAR_IS_FIXED but SK_CAN_USE_FLOAT

git-svn-id: http://skia.googlecode.com/svn/trunk@1561 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
epoger@google.com 2011-06-09 22:16:28 +00:00
parent ea325437bd
commit 80afbf08eb

View File

@ -18,6 +18,7 @@
#define SkScalar_DEFINED
#include "SkFixed.h"
#include "SkFloatingPoint.h"
/** \file SkScalar.h
@ -29,7 +30,6 @@
*/
#ifdef SK_SCALAR_IS_FLOAT
#include "SkFloatingPoint.h"
/** SkScalar is our type for fractional values and coordinates. Depending on
compile configurations, it is either represented as an IEEE float, or