| Index: include/core/SkTypes.h
|
| diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h
|
| index 45a5a8a3765379bb068c69ab99f6d3c2213b6cf6..c128e48fef94e2037c84fc4df846a11dca6a43a7 100644
|
| --- a/include/core/SkTypes.h
|
| +++ b/include/core/SkTypes.h
|
| @@ -14,7 +14,6 @@
|
| #include "SkPostConfig.h"
|
| #include <stddef.h>
|
| #include <stdint.h>
|
| -#include <sys/types.h>
|
|
|
| #if defined(SK_ARM_HAS_NEON)
|
| #include <arm_neon.h>
|
| @@ -243,7 +242,6 @@ typedef uint8_t SkBool8;
|
| SK_API int SkToInt(intmax_t);
|
| SK_API unsigned SkToUInt(uintmax_t);
|
| SK_API size_t SkToSizeT(uintmax_t);
|
| - SK_API off_t SkToOffT(intmax_t x);
|
| #else
|
| #define SkToS8(x) ((int8_t)(x))
|
| #define SkToU8(x) ((uint8_t)(x))
|
| @@ -254,7 +252,6 @@ typedef uint8_t SkBool8;
|
| #define SkToInt(x) ((int)(x))
|
| #define SkToUInt(x) ((unsigned)(x))
|
| #define SkToSizeT(x) ((size_t)(x))
|
| - #define SkToOffT(x) ((off_t)(x))
|
| #endif
|
|
|
| /** Returns 0 or 1 based on the condition
|
|
|