From 5604decc7d3b63c3b1e95adc3e30f3a7c5d2fa89 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Mon, 19 Dec 2016 13:29:53 -0800 Subject: Define ZLIB_CONST to add constness. The next_in and msg fields in z_stream will become pointers to const data. Test: m checkbuild Change-Id: I4383eb2387eb1ab423591a2d1a4f4470b540f835 --- Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/Android.bp b/Android.bp index 9d1dde1..c079c3b 100644 --- a/Android.bp +++ b/Android.bp @@ -4,6 +4,7 @@ cc_defaults { cflags: [ "-O3", "-DUSE_MMAP", + "-DZLIB_CONST", ], stl: "none", export_include_dirs: ["."], -- cgit v1.2.3