[libpng16] Removed the png_sizeof(), png_strlen(), png_memset(), png_memcpy(),

and png_memcmp() macros.
This commit is contained in:
Glenn Randers-Pehrson
2012-08-10 18:08:02 -05:00
parent dbb7e19fda
commit ece07cfe9c
9 changed files with 81 additions and 574 deletions

View File

@@ -397,15 +397,6 @@ typedef const png_uint_16p * png_const_uint_16pp;
# endif
#endif
/* Prior to 1.6.0 if _WINDOWS_ was defined 'lstrlenA' and 'CopyMemory' were used
* in place of the ISOC90 functions; this is no longer done in 1.6.0, however
* the use of png_foo as a macro defined to the C function is retained.
*/
#define png_strlen strlen
#define png_memcmp memcmp
#define png_memcpy memcpy
#define png_memset memset
/* These macros may need to be architecture dependent. */
#define PNG_ALIGN_NONE 0 /* do not use data alignment */
#define PNG_ALIGN_ALWAYS 1 /* assume unaligned accesses are OK */