version 1.1.1.1, 2012/02/21 16:23:02
|
version 1.1.1.2, 2013/07/22 10:46:14
|
Line 1
|
Line 1
|
/* zutil.c -- target dependent utility functions for the compression library |
/* zutil.c -- target dependent utility functions for the compression library |
* Copyright (C) 1995-2005, 2010 Jean-loup Gailly. | * Copyright (C) 1995-2005, 2010, 2011 Jean-loup Gailly. |
* For conditions of distribution and use, see copyright notice in zlib.h |
* For conditions of distribution and use, see copyright notice in zlib.h |
*/ |
*/ |
|
|
Line 85 uLong ZEXPORT zlibCompileFlags()
|
Line 85 uLong ZEXPORT zlibCompileFlags()
|
#ifdef FASTEST |
#ifdef FASTEST |
flags += 1L << 21; |
flags += 1L << 21; |
#endif |
#endif |
#ifdef STDC | #ifdef Z_SOLO |
# ifdef NO_vsnprintf | return flags; |
flags += 1L << 25; | |
# ifdef HAS_vsprintf_void | |
flags += 1L << 26; | |
# endif | |
# else | |
# ifdef HAS_vsnprintf_void | |
flags += 1L << 26; | |
# endif | |
# endif | |
#else |
#else |
flags += 1L << 24; | return flags + gzflags(); |
# ifdef NO_snprintf | |
flags += 1L << 25; | |
# ifdef HAS_sprintf_void | |
flags += 1L << 26; | |
# endif | |
# else | |
# ifdef HAS_snprintf_void | |
flags += 1L << 26; | |
# endif | |
# endif | |
#endif |
#endif |
return flags; |
|
} |
} |
|
|
#ifdef DEBUG |
#ifdef DEBUG |
Line 181 void ZLIB_INTERNAL zmemzero(dest, len)
|
Line 161 void ZLIB_INTERNAL zmemzero(dest, len)
|
} |
} |
#endif |
#endif |
|
|
|
#ifndef Z_SOLO |
|
|
#ifdef SYS16BIT |
#ifdef SYS16BIT |
|
|
Line 316 void ZLIB_INTERNAL zcfree (opaque, ptr)
|
Line 297 void ZLIB_INTERNAL zcfree (opaque, ptr)
|
} |
} |
|
|
#endif /* MY_ZCALLOC */ |
#endif /* MY_ZCALLOC */ |
|
|
|
#endif /* !Z_SOLO */ |