Index: sdch/sdch.gyp |
diff --git a/sdch/sdch.gyp b/sdch/sdch.gyp |
index 410629f29004cfda613cc72fa646023a20d121a0..bb62bce8e3bf069d74af2cab5c3b255bef93ceb9 100644 |
--- a/sdch/sdch.gyp |
+++ b/sdch/sdch.gyp |
@@ -47,6 +47,11 @@ |
'include_dirs': [ |
'open-vcdiff/src', |
], |
+ 'defines': [ |
+ # Prefix the local zlib function names (e.g. adler32 -> z_adler32) to |
+ # avoid link warning due to name conflict with zlib. |
+ 'Z_PREFIX', |
tonyg
2012/03/01 11:32:54
Sorry for the naive question, but why is there a l
Xianzhu
2012/03/01 17:44:44
Good question. I just compared sdch/open-vcdiff/sr
|
+ ], |
'direct_dependent_settings': { |
'include_dirs': [ |
'open-vcdiff/src', |