[devel] Imported from libpng-1.5.2rc01.tar

This commit is contained in:
Glenn Randers-Pehrson
2011-03-18 22:02:20 -05:00
parent d32a671dff
commit f3dd1cc51e
26 changed files with 80 additions and 74 deletions

View File

@@ -83,13 +83,15 @@ typedef PNG_CONST png_uint_16p FAR * png_const_uint_16pp;
# define PNG_MAX_MALLOC_64K
#endif
#ifndef PNG_UNUSED
/* Unused formal parameter warnings are silenced using the following macro
* which is expected to have no bad effects on performance (optimizing
* compilers will probably remove it entirely). Note that if you replace
* it with something other than whitespace, you must include the terminating
* semicolon.
*/
#define PNG_UNUSED(param) (void)param;
# define PNG_UNUSED(param) (void)param;
#endif
/* Just a little check that someone hasn't tried to define something
* contradictory.