Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: include/core/SkTypes.h

Issue 1306963004: Remove sys/types.h include from SkTypes.h. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Also remove SkToOffT. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkDebug.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | src/core/SkDebug.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698