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

Unified Diff: skia/ext/platform_device.h

Issue 7238021: Solaris patch (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fixed some sysctl includes Created 9 years, 6 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 | « skia/ext/platform_canvas.h ('k') | third_party/cld/base/build_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/platform_device.h
diff --git a/skia/ext/platform_device.h b/skia/ext/platform_device.h
index 81e475da90c45d7aaaac569a2763dfa1440b8c16..6b3afb12d48b05b12a3bcbc9cb2a0e748300708d 100644
--- a/skia/ext/platform_device.h
+++ b/skia/ext/platform_device.h
@@ -20,7 +20,7 @@
class SkDevice;
struct SkIRect;
-#if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+#if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__sun)
typedef struct _cairo cairo_t;
typedef struct _cairo_rectangle cairo_rectangle_t;
#elif defined(__APPLE__)
@@ -35,7 +35,7 @@ class PlatformDevice;
#if defined(WIN32)
typedef HDC PlatformSurface;
typedef RECT PlatformRect;
-#elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+#elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__sun)
typedef cairo_t* PlatformSurface;
typedef cairo_rectangle_t PlatformRect;
#elif defined(__APPLE__)
@@ -66,7 +66,7 @@ SK_API PlatformDevice* GetPlatformDevice(SkDevice* device);
#elif defined(__APPLE__)
#include "skia/ext/platform_device_mac.h"
#elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || \
- defined(__Solaris__)
+ defined(__sun)
#include "skia/ext/platform_device_linux.h"
#endif
« no previous file with comments | « skia/ext/platform_canvas.h ('k') | third_party/cld/base/build_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698