summaryrefslogtreecommitdiffstats
path: root/skia/ext/platform_canvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'skia/ext/platform_canvas.h')
-rw-r--r--skia/ext/platform_canvas.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/skia/ext/platform_canvas.h b/skia/ext/platform_canvas.h
index b624249..4c47466 100644
--- a/skia/ext/platform_canvas.h
+++ b/skia/ext/platform_canvas.h
@@ -47,7 +47,8 @@ class PlatformCanvas : public SkCanvas {
// For two-part init, call if you use the no-argument constructor above
bool initialize(int width, int height, bool is_opaque, uint8_t* data = NULL);
-#elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+#elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || \
+ defined(__Solaris__)
// Linux ---------------------------------------------------------------------
// Construct a canvas from the given memory region. The memory is not cleared