1592N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1592N/A * This code is free software; you can redistribute it and/or modify it 1592N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 1592N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 1592N/A * This code is distributed in the hope that it will be useful, but WITHOUT 1592N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1592N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1592N/A * version 2 for more details (a copy is included in the LICENSE file that 1592N/A * You should have received a copy of the GNU General Public License version 1592N/A * 2 along with this work; if not, write to the Free Software Foundation, 1592N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 1592N/A/* zutil.h -- internal interface and configuration of the compression library 1592N/A * Copyright (C) 1995-2005 Jean-loup Gailly. 1592N/A * For conditions of distribution and use, see copyright notice in zlib.h 1592N/A/* WARNING: this file should *not* be used by applications. It is 1592N/A part of the implementation of the compression library and is 1592N/A /* The Microsoft C Run-Time Library for Windows CE doesn't have 1592N/A * errno. We define it as a global variable to simplify porting. 1592N/A * Its value is always 0 and should not be used. We rename it to 1592N/A * avoid conflict with other libraries that use the same workaround. 1592N/A/* compile with -Dlocal if your debugger can't find static symbols */ 1592N/Aextern const char *
const z_errmsg[
10];
/* indexed by 2-zlib_error */ 1592N/A/* (size given to avoid silly warnings with Visual C++) */ 1592N/A/* To be used only when the state is known to be valid */ 1592N/A/* default windowBits for decompression. MAX_WBITS is for compression only */ 1592N/A/* The three kinds of block type */ 1592N/A/* The minimum and maximum match lengths */ 1592N/A /* Allow compilation with ANSI keywords only enabled */ 1592N/A /* vsnprintf may exist on some MS-DOS compilers (DJGPP?), 1592N/A but for now we just assume it doesn't. */ 1592N/A /* In Win32, vsnprintf is available as the "non-ANSI" _vsnprintf. */ 2044N/A /* Only needed before Visual Studio 2008 */ 1592N/A /* Use our own functions for small and medium model with MSC <= 5.0. 1592N/A * You may have to use the same strategy for Borland C (untested). 1592N/A * The __SC__ check is for Symantec.