Index: src/codec/SkCodecPriv.h |
diff --git a/src/codec/SkCodecPriv.h b/src/codec/SkCodecPriv.h |
index 7c57a9fe773190bd3add08e44d02485516f70803..da7574677c375a154b3a1ca6a78f472f1e3a0e13 100644 |
--- a/src/codec/SkCodecPriv.h |
+++ b/src/codec/SkCodecPriv.h |
@@ -105,4 +105,10 @@ static inline uint32_t get_int(uint8_t* buffer, uint32_t i) { |
#endif |
} |
+#ifdef SK_PRINT_CODEC_MESSAGES |
+ #define SkCodecPrintf SkDebugf |
+#else |
+ #define SkCodecPrintf(...) |
+#endif |
+ |
#endif // SkCodecPriv_DEFINED |