aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/libpng/pnglibconf.h
diff options
context:
space:
mode:
authorGravatar scroggo <scroggo@chromium.org>2016-06-06 08:57:50 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-06-06 08:57:50 -0700
commit09f5cd44ae30f7089cde0131a3d07abf4c47af67 (patch)
tree43563ea9780a8aebad372072ed9d281696e27ef2 /third_party/libpng/pnglibconf.h
parent814e38d5c11e4b71b2c87d1e1fe7bc8e8d688288 (diff)
Prefix png functions
This way multiple copies of libpng can coexist. Update libpng's README.google GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2046603002 Review-Url: https://codereview.chromium.org/2046603002
Diffstat (limited to 'third_party/libpng/pnglibconf.h')
-rw-r--r--third_party/libpng/pnglibconf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/libpng/pnglibconf.h b/third_party/libpng/pnglibconf.h
index 5e46c229ca..db5c9ac21f 100644
--- a/third_party/libpng/pnglibconf.h
+++ b/third_party/libpng/pnglibconf.h
@@ -212,4 +212,10 @@
#define PNG_sCAL_PRECISION 5
#define PNG_sRGB_PROFILE_CHECKS 2
/* end of settings */
+
+/* Skia-specific settings */
+#define PNG_PREFIX
+#include "pngprefix.h"
+/* end of Skia-specific settings */
+
#endif /* PNGLCONF_H */