"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "gzguts.h" between
pngcrush-1.8.10.tar.gz and pngcrush-1.8.11.tar.gz

About: Pngcrush is an optimizer for PNG (Portable Network Graphics) files.

gzguts.h  (pngcrush-1.8.10):gzguts.h  (pngcrush-1.8.11)
/* gzguts.h -- zlib internal header definitions for gz* operations /* gzguts.h -- zlib internal header definitions for gz* operations
* Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013 Mark Adler * Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013, 2016 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h * For conditions of distribution and use, see copyright notice in zlib.h
*/ */
#ifndef NO_GZ #ifndef NO_GZ
#ifndef ZLIB_GZGUTS_H #ifndef ZLIB_GZGUTS_H
#define ZLIB_GZGUTS_H #define ZLIB_GZGUTS_H
#ifdef _LARGEFILE64_SOURCE #ifdef _LARGEFILE64_SOURCE
# ifndef _LARGEFILE_SOURCE # ifndef _LARGEFILE_SOURCE
# define _LARGEFILE_SOURCE 1 # define _LARGEFILE_SOURCE 1
skipping to change at line 110 skipping to change at line 110
# define NO_vsnprintf # define NO_vsnprintf
# endif # endif
# ifdef __OS400__ # ifdef __OS400__
# define NO_vsnprintf # define NO_vsnprintf
# endif # endif
# ifdef __MVS__ # ifdef __MVS__
# define NO_vsnprintf # define NO_vsnprintf
# endif # endif
#endif #endif
/* unlike snprintf (which is required in C99, yet still not supported by /* unlike snprintf (which is required in C99), _snprintf does not guarantee
Microsoft more than a decade later!), _snprintf does not guarantee null null termination of the result -- however this is only used in gzlib.c where
termination of the result -- however this is only used in gzlib.c where
the result is assured to fit in the space provided */ the result is assured to fit in the space provided */
#ifdef _MSC_VER #if defined(_MSC_VER) && _MSC_VER < 1900
# define snprintf _snprintf # define snprintf _snprintf
#endif #endif
#ifndef local #ifndef local
# define local static # define local static
#endif #endif
/* compile with -Dlocal if your debugger can't find static symbols */ /* since "static" is used to mean two completely different things in C, we
define "local" for the non-static meaning of "static", for readability
(compile with -Dlocal if your debugger can't find static symbols) */
/* gz* functions always use library allocation functions */ /* gz* functions always use library allocation functions */
#ifndef STDC #ifndef STDC
extern voidp malloc OF((uInt size)); extern voidp malloc OF((uInt size));
extern void free OF((voidpf ptr)); extern void free OF((voidpf ptr));
#endif #endif
/* get errno and strerror definition */ /* get errno and strerror definition */
#if defined UNDER_CE #if defined UNDER_CE
# include <windows.h> # include <windows.h>
 End of changes. 4 change blocks. 
6 lines changed or deleted 7 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS