summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/Gradient.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/Gradient.h')
-rw-r--r--WebCore/platform/graphics/Gradient.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/Gradient.h b/WebCore/platform/graphics/Gradient.h
index e1be1fe..0efd3bf 100644
--- a/WebCore/platform/graphics/Gradient.h
+++ b/WebCore/platform/graphics/Gradient.h
@@ -37,7 +37,9 @@
#if PLATFORM(CG)
-#ifdef BUILDING_ON_TIGER
+#define USE_CG_SHADING defined(BUILDING_ON_TIGER) || defined(BUILDING_ON_LEOPARD)
+
+#if USE_CG_SHADING
typedef struct CGShading* CGShadingRef;
typedef CGShadingRef PlatformGradient;
#else