aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPostConfig.h
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-31 17:28:30 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-31 17:28:30 +0000
commit4469938e92d779dff05e745559e67907bbf21e78 (patch)
treec87072ff8cef5709436279a1f771160511debd2a /include/core/SkPostConfig.h
parent6fcbfcead5dc1b61fa5b4c139a1a3714e8c58091 (diff)
Revert "Revert "add SK_ATTR_DEPRECATED -- will need to disable for chrome, since it triggers a warning""
This reverts commit 1e787c38fa71f2a21fd728f1b1d620b9b09b0d3d. BUG= Review URL: https://codereview.chromium.org/54603004 git-svn-id: http://skia.googlecode.com/svn/trunk@12057 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkPostConfig.h')
-rw-r--r--include/core/SkPostConfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h
index 0c2358aeb8..61998f621a 100644
--- a/include/core/SkPostConfig.h
+++ b/include/core/SkPostConfig.h
@@ -374,6 +374,11 @@
#define SK_UNUSED SK_ATTRIBUTE(unused)
#endif
+#if !defined(SK_ATTR_DEPRECATED)
+ // we ignore msg for now...
+ #define SK_ATTR_DEPRECATED(msg) SK_ATTRIBUTE(deprecated)
+#endif
+
//////////////////////////////////////////////////////////////////////
#ifndef SK_PRINTF_LIKE