aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPostConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkPostConfig.h')
-rw-r--r--include/core/SkPostConfig.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h
index a7fbba7c78..c3255b8768 100644
--- a/include/core/SkPostConfig.h
+++ b/include/core/SkPostConfig.h
@@ -346,6 +346,12 @@
//////////////////////////////////////////////////////////////////////
+#if defined(SK_HISTOGRAM_ENUMERATION) && defined(SK_HISTOGRAM_BOOLEAN)
+# define SK_HISTOGRAMS_ENABLED 1
+#else
+# define SK_HISTOGRAMS_ENABLED 0
+#endif
+
#ifndef SK_HISTOGRAM_BOOLEAN
# define SK_HISTOGRAM_BOOLEAN(name, value)
#endif