提交 882340c9 编写于 作者: G Glenn Randers-Pehrson

[devel] Clean up indentation of comments in pngconf.h

上级 c44253fa
......@@ -136,7 +136,8 @@
#endif
/* Enabled by default in 1.2.0. You can disable this if you don't need to
support PNGs that are embedded in MNG datastreams */
* support PNGs that are embedded in MNG datastreams
*/
#ifndef PNG_NO_MNG_FEATURES
# ifndef PNG_MNG_FEATURES_SUPPORTED
# define PNG_MNG_FEATURES_SUPPORTED
......@@ -393,7 +394,7 @@
#endif
#ifdef PNG_PEDANTIC_WARNINGS_SUPPORTED
/* Support for compiler specific function attributes. These are used
/* Support for compiler specific function attributes. These are used
* so that where compiler support is available incorrect use of API
* functions in png.h will generate compiler warnings. Added at libpng
* version 1.2.41.
......@@ -676,7 +677,7 @@
# define PNG_READ_INTERLACING_SUPPORTED
/* PNG_NO_SEQUENTIAL_READ_SUPPORTED is deprecated. */
/* PNG_NO_SEQUENTIAL_READ_SUPPORTED is deprecated. */
# if !defined(PNG_NO_SEQUENTIAL_READ) && \
!defined(PNG_SEQUENTIAL_READ_SUPPORTED) && \
!defined(PNG_NO_SEQUENTIAL_READ_SUPPORTED)
......@@ -891,7 +892,6 @@
#endif
/* Buggy compilers (e.g., gcc 2.7.2.2) need PNG_NO_POINTER_INDEXING */
#if !defined(PNG_NO_POINTER_INDEXING) && \
!defined(PNG_POINTER_INDEXING_SUPPORTED)
# define PNG_POINTER_INDEXING_SUPPORTED
......@@ -1006,8 +1006,11 @@
# define PNG_zTXt_SUPPORTED
# endif
# ifndef PNG_NO_READ_OPT_PLTE
# define PNG_READ_OPT_PLTE_SUPPORTED /* only affects support of the */
# endif /* optional PLTE chunk in RGB and RGBA images */
/* This only affects support of the optional PLTE chunk in RGB and RGBA
* images.
*/
# define PNG_READ_OPT_PLTE_SUPPORTED
# endif
# if defined(PNG_READ_iTXt_SUPPORTED) || defined(PNG_READ_tEXt_SUPPORTED) || \
defined(PNG_READ_zTXt_SUPPORTED)
# define PNG_READ_TEXT_SUPPORTED
......@@ -1164,8 +1167,8 @@
# ifdef PNG_WRITE_tIME_SUPPORTED
# ifndef PNG_NO_CONVERT_tIME
/* The "tm" structure is not supported on WindowsCE */
# ifndef _WIN32_WCE
/* The "tm" structure is not supported on WindowsCE */
# ifndef PNG_CONVERT_tIME_SUPPORTED
# define PNG_CONVERT_tIME_SUPPORTED
# endif
......@@ -1194,9 +1197,8 @@
# endif
#endif /* PNG_WRITE_SUPPORTED */
/* Turn this off to disable png_read_png() and
* png_write_png() and leave the row_pointers member
* out of the info structure.
/* Turn this off to disable png_read_png() and png_write_png() and
* leave the row_pointers member out of the info structure.
*/
#ifndef PNG_NO_INFO_IMAGE
# define PNG_INFO_IMAGE_SUPPORTED
......@@ -1228,9 +1230,9 @@ typedef short png_int_16;
typedef unsigned char png_byte;
#ifdef PNG_NO_SIZE_T
typedef unsigned int png_size_t;
typedef unsigned int png_size_t;
#else
typedef size_t png_size_t;
typedef size_t png_size_t;
#endif
#define png_sizeof(x) sizeof(x)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册