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

Side by Side Diff: third_party/zlib/contrib/minizip/ioapi.h

Issue 11632002: Use generated shim headers for zlib. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 years 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 | Annotate | Revision Log
OLDNEW
1 /* ioapi.h -- IO base function header for compress/uncompress .zip 1 /* ioapi.h -- IO base function header for compress/uncompress .zip
2 part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html ) 2 part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html )
3 3
4 Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage. com/zLibDll/minizip.html ) 4 Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage. com/zLibDll/minizip.html )
5 5
6 Modifications for Zip64 support 6 Modifications for Zip64 support
7 Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com ) 7 Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com )
8 8
9 For more info read MiniZip_info.txt 9 For more info read MiniZip_info.txt
10 10
(...skipping 24 matching lines...) Expand all
35 #ifndef _LARGEFILE64_SOURCE 35 #ifndef _LARGEFILE64_SOURCE
36 #define _LARGEFILE64_SOURCE 36 #define _LARGEFILE64_SOURCE
37 #endif 37 #endif
38 #ifndef _FILE_OFFSET_BIT 38 #ifndef _FILE_OFFSET_BIT
39 #define _FILE_OFFSET_BIT 64 39 #define _FILE_OFFSET_BIT 64
40 #endif 40 #endif
41 #endif 41 #endif
42 42
43 #include <stdio.h> 43 #include <stdio.h>
44 #include <stdlib.h> 44 #include <stdlib.h>
45 #if defined(USE_SYSTEM_ZLIB)
46 #include <zlib.h>
47 #else
48 #include "third_party/zlib/zlib.h" 45 #include "third_party/zlib/zlib.h"
49 #endif
50 46
51 #if defined(USE_FILE32API) 47 #if defined(USE_FILE32API)
52 #define fopen64 fopen 48 #define fopen64 fopen
53 #define ftello64 ftell 49 #define ftello64 ftell
54 #define fseeko64 fseek 50 #define fseeko64 fseek
55 #else 51 #else
56 #ifdef _MSC_VER 52 #ifdef _MSC_VER
57 #define fopen64 fopen 53 #define fopen64 fopen
58 #if (_MSC_VER >= 1400) && (!(defined(NO_MSCVER_FILE64_FUNC))) 54 #if (_MSC_VER >= 1400) && (!(defined(NO_MSCVER_FILE64_FUNC)))
59 #define ftello64 _ftelli64 55 #define ftello64 _ftelli64
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 191
196 #define ZOPEN64(filefunc,filename,mode) (call_zopen64((&(filefunc)),(fil ename),(mode))) 192 #define ZOPEN64(filefunc,filename,mode) (call_zopen64((&(filefunc)),(fil ename),(mode)))
197 #define ZTELL64(filefunc,filestream) (call_ztell64((&(filefunc)),(fil estream))) 193 #define ZTELL64(filefunc,filestream) (call_ztell64((&(filefunc)),(fil estream)))
198 #define ZSEEK64(filefunc,filestream,pos,mode) (call_zseek64((&(filefunc)),(fil estream),(pos),(mode))) 194 #define ZSEEK64(filefunc,filestream,pos,mode) (call_zseek64((&(filefunc)),(fil estream),(pos),(mode)))
199 195
200 #ifdef __cplusplus 196 #ifdef __cplusplus
201 } 197 }
202 #endif 198 #endif
203 199
204 #endif 200 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698