Index: include/core/SkData.h |
diff --git a/include/core/SkData.h b/include/core/SkData.h |
index 3457fcbfead732d8f1a298808b5e36091a93ef5a..e34d861675bae812f3397017a4f87b5c337348b0 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, |