Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(816)

Side by Side Diff: third_party/zlib/google.patch

Issue 2121343002: [zlib] Fix unmangled symbols. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modify .patch files to reflect current condition Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/zlib/README.chromium ('k') | third_party/zlib/mozzconf.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 diff --git a/third_party/zlib/contrib/minizip/ioapi.h b/third_party/zlib/contrib /minizip/ioapi.h 1 diff --git a/third_party/zlib/contrib/minizip/ioapi.h b/third_party/zlib/contrib /minizip/ioapi.h
2 index 8dcbdb0..c1b7a54 100644 2 index 8dcbdb0..c1b7a54 100644
3 --- a/third_party/zlib/contrib/minizip/ioapi.h 3 --- a/third_party/zlib/contrib/minizip/ioapi.h
4 +++ b/third_party/zlib/contrib/minizip/ioapi.h 4 +++ b/third_party/zlib/contrib/minizip/ioapi.h
5 @@ -43,7 +43,7 @@ 5 @@ -43,7 +43,7 @@
6 6
7 #include <stdio.h> 7 #include <stdio.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9 -#include "zlib.h" 9 -#include "zlib.h"
10 +#include "third_party/zlib/zlib.h" 10 +#include "third_party/zlib/zlib.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 #endif 115 #endif
116 + 116 +
117 int ZEXPORT gzgetc(file) 117 int ZEXPORT gzgetc(file)
118 gzFile file; 118 gzFile file;
119 { 119 {
120 diff --git a/third_party/zlib/mozzconf.h b/third_party/zlib/mozzconf.h 120 diff --git a/third_party/zlib/mozzconf.h b/third_party/zlib/mozzconf.h
121 new file mode 100644 121 new file mode 100644
122 index 0000000..80994c9 122 index 0000000..80994c9
123 --- /dev/null 123 --- /dev/null
124 +++ b/third_party/zlib/mozzconf.h 124 +++ b/third_party/zlib/mozzconf.h
125 @@ -0,0 +1,177 @@ 125 @@ -0,0 +1,178 @@
126 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 126 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
127 +/* ***** BEGIN LICENSE BLOCK ***** 127 +/* ***** BEGIN LICENSE BLOCK *****
128 + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 128 + * Version: MPL 1.1/GPL 2.0/LGPL 2.1
129 + * 129 + *
130 + * The contents of this file are subject to the Mozilla Public License Version 130 + * The contents of this file are subject to the Mozilla Public License Version
131 + * 1.1 (the "License"); you may not use this file except in compliance with 131 + * 1.1 (the "License"); you may not use this file except in compliance with
132 + * the License. You may obtain a copy of the License at 132 + * the License. You may obtain a copy of the License at
133 + * http://www.mozilla.org/MPL/ 133 + * http://www.mozilla.org/MPL/
134 + * 134 + *
135 + * Software distributed under the License is distributed on an "AS IS" basis, 135 + * Software distributed under the License is distributed on an "AS IS" basis,
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 +#define uIntf MOZ_Z_uIntf 280 +#define uIntf MOZ_Z_uIntf
281 +#define uLong MOZ_Z_uLong 281 +#define uLong MOZ_Z_uLong
282 +#define uLongf MOZ_Z_uLongf 282 +#define uLongf MOZ_Z_uLongf
283 +#define voidp MOZ_Z_voidp 283 +#define voidp MOZ_Z_voidp
284 +#define voidpc MOZ_Z_voidpc 284 +#define voidpc MOZ_Z_voidpc
285 +#define voidpf MOZ_Z_voidpf 285 +#define voidpf MOZ_Z_voidpf
286 +#define gz_header_s MOZ_Z_gz_header_s 286 +#define gz_header_s MOZ_Z_gz_header_s
287 +#define internal_state MOZ_Z_internal_state 287 +#define internal_state MOZ_Z_internal_state
288 + 288 +
289 +/* New as of zlib 1.2.8 */ 289 +/* New as of zlib 1.2.8 */
290 +#define _tr_flush_bits MOZ_Z__tr_flush_bits
290 +#define deflateResetKeep MOZ_Z_deflateResetKeep 291 +#define deflateResetKeep MOZ_Z_deflateResetKeep
291 +#define deflatePending MOZ_Z_deflatePending 292 +#define deflatePending MOZ_Z_deflatePending
292 +#define inflateGetDictionary MOZ_Z_inflateGetDictionary 293 +#define inflateGetDictionary MOZ_Z_inflateGetDictionary
293 +#define inflateResetKeep MOZ_Z_inflateResetKeep 294 +#define inflateResetKeep MOZ_Z_inflateResetKeep
294 +#define gzopen_w MOZ_Z_gzopen_w 295 +#define gzopen_w MOZ_Z_gzopen_w
295 + 296 +
296 +/* Mangle Byte types except on Mac. */ 297 +/* Mangle Byte types except on Mac. */
297 +#if !defined(__MACTYPES__) 298 +#if !defined(__MACTYPES__)
298 +#define Byte MOZ_Z_Byte 299 +#define Byte MOZ_Z_Byte
299 +#define Bytef MOZ_Z_Bytef 300 +#define Bytef MOZ_Z_Bytef
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 +#else 409 +#else
409 +#define zalign(x) __attribute__((aligned((x)))) 410 +#define zalign(x) __attribute__((aligned((x))))
410 +#endif 411 +#endif
411 + 412 +
412 #ifdef WIN32 413 #ifdef WIN32
413 # ifndef __CYGWIN__ /* Cygwin is Unix, not Win32 */ 414 # ifndef __CYGWIN__ /* Cygwin is Unix, not Win32 */
414 # define OS_CODE 0x0b 415 # define OS_CODE 0x0b
415 -- 416 --
416 2.7.4 417 2.7.4
417 418
OLDNEW
« no previous file with comments | « third_party/zlib/README.chromium ('k') | third_party/zlib/mozzconf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698