mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[devel] Fixed gcc -ansi -pedantic compile, using __STRICT_ANSI__
This commit is contained in:
parent
b6743ea08e
commit
537c146082
@ -232,7 +232,7 @@ typedef PNG_CONST png_uint_16p FAR * png_const_uint_16pp;
|
|||||||
#endif
|
#endif
|
||||||
/* End of memory model/platform independent support */
|
/* End of memory model/platform independent support */
|
||||||
|
|
||||||
#ifndef PNG_NO_SNPRINTF
|
#if !defined(PNG_NO_SNPRINTF) && !defined(__STRICT_ANSI__)
|
||||||
# ifdef _MSC_VER
|
# ifdef _MSC_VER
|
||||||
# define png_snprintf _snprintf /* Added to v 1.2.19 */
|
# define png_snprintf _snprintf /* Added to v 1.2.19 */
|
||||||
# define png_snprintf2 _snprintf
|
# define png_snprintf2 _snprintf
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user