aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/core/SkData.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkData.h b/include/core/SkData.h
index 3457fcbfea..e34d861675 100644
--- a/include/core/SkData.h
+++ b/include/core/SkData.h
@@ -14,7 +14,9 @@
class SkStream;
+#ifndef SK_SUPPORT_LEGACY_DATA_FACTORIES
#define SK_SUPPORT_LEGACY_DATA_FACTORIES
+#endif
/**
* SkData holds an immutable data buffer. Not only is the data immutable,