Index: include/private/SkFloatingPoint.h |
diff --git a/include/private/SkFloatingPoint.h b/include/private/SkFloatingPoint.h |
index efaf4109f1fa06891ab03d2b45209d7a0640abb2..6ed6144d184b3bc5673eb457897b9d195d25e85e 100644 |
--- a/include/private/SkFloatingPoint.h |
+++ b/include/private/SkFloatingPoint.h |
@@ -35,6 +35,7 @@ static inline float sk_float_pow(float base, float exp) { |
#define sk_float_tan(x) tanf(x) |
#define sk_float_floor(x) floorf(x) |
#define sk_float_ceil(x) ceilf(x) |
+#define sk_float_trunc(x) truncf(x) |
#ifdef SK_BUILD_FOR_MAC |
# define sk_float_acos(x) static_cast<float>(acos(x)) |
# define sk_float_asin(x) static_cast<float>(asin(x)) |