mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Removed the png_sizeof(), png_strlen(), png_memset(), png_memcpy(),
and png_memcmp() macros.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user