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

This commit is contained in:
Glenn Randers-Pehrson 2010-03-13 21:19:51 -06:00
parent c44253fa0c
commit 882340c959

View File

@ -136,7 +136,8 @@
#endif #endif
/* Enabled by default in 1.2.0. You can disable this if you don't need to /* 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_NO_MNG_FEATURES
# ifndef PNG_MNG_FEATURES_SUPPORTED # ifndef PNG_MNG_FEATURES_SUPPORTED
# define PNG_MNG_FEATURES_SUPPORTED # define PNG_MNG_FEATURES_SUPPORTED
@ -393,7 +394,7 @@
#endif #endif
#ifdef PNG_PEDANTIC_WARNINGS_SUPPORTED #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 * so that where compiler support is available incorrect use of API
* functions in png.h will generate compiler warnings. Added at libpng * functions in png.h will generate compiler warnings. Added at libpng
* version 1.2.41. * version 1.2.41.
@ -676,7 +677,7 @@
# define PNG_READ_INTERLACING_SUPPORTED # 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) && \ # if !defined(PNG_NO_SEQUENTIAL_READ) && \
!defined(PNG_SEQUENTIAL_READ_SUPPORTED) && \ !defined(PNG_SEQUENTIAL_READ_SUPPORTED) && \
!defined(PNG_NO_SEQUENTIAL_READ_SUPPORTED) !defined(PNG_NO_SEQUENTIAL_READ_SUPPORTED)
@ -891,7 +892,6 @@
#endif #endif
/* Buggy compilers (e.g., gcc 2.7.2.2) need PNG_NO_POINTER_INDEXING */ /* Buggy compilers (e.g., gcc 2.7.2.2) need PNG_NO_POINTER_INDEXING */
#if !defined(PNG_NO_POINTER_INDEXING) && \ #if !defined(PNG_NO_POINTER_INDEXING) && \
!defined(PNG_POINTER_INDEXING_SUPPORTED) !defined(PNG_POINTER_INDEXING_SUPPORTED)
# define PNG_POINTER_INDEXING_SUPPORTED # define PNG_POINTER_INDEXING_SUPPORTED
@ -1006,8 +1006,11 @@
# define PNG_zTXt_SUPPORTED # define PNG_zTXt_SUPPORTED
# endif # endif
# ifndef PNG_NO_READ_OPT_PLTE # ifndef PNG_NO_READ_OPT_PLTE
# define PNG_READ_OPT_PLTE_SUPPORTED /* only affects support of the */ /* This only affects support of the optional PLTE chunk in RGB and RGBA
# endif /* optional PLTE chunk in RGB and RGBA images */ * images.
*/
# define PNG_READ_OPT_PLTE_SUPPORTED
# endif
# if defined(PNG_READ_iTXt_SUPPORTED) || defined(PNG_READ_tEXt_SUPPORTED) || \ # if defined(PNG_READ_iTXt_SUPPORTED) || defined(PNG_READ_tEXt_SUPPORTED) || \
defined(PNG_READ_zTXt_SUPPORTED) defined(PNG_READ_zTXt_SUPPORTED)
# define PNG_READ_TEXT_SUPPORTED # define PNG_READ_TEXT_SUPPORTED
@ -1164,8 +1167,8 @@
# ifdef PNG_WRITE_tIME_SUPPORTED # ifdef PNG_WRITE_tIME_SUPPORTED
# ifndef PNG_NO_CONVERT_tIME # ifndef PNG_NO_CONVERT_tIME
/* The "tm" structure is not supported on WindowsCE */
# ifndef _WIN32_WCE # ifndef _WIN32_WCE
/* The "tm" structure is not supported on WindowsCE */
# ifndef PNG_CONVERT_tIME_SUPPORTED # ifndef PNG_CONVERT_tIME_SUPPORTED
# define PNG_CONVERT_tIME_SUPPORTED # define PNG_CONVERT_tIME_SUPPORTED
# endif # endif
@ -1194,9 +1197,8 @@
# endif # endif
#endif /* PNG_WRITE_SUPPORTED */ #endif /* PNG_WRITE_SUPPORTED */
/* Turn this off to disable png_read_png() and /* Turn this off to disable png_read_png() and png_write_png() and
* png_write_png() and leave the row_pointers member * leave the row_pointers member out of the info structure.
* out of the info structure.
*/ */
#ifndef PNG_NO_INFO_IMAGE #ifndef PNG_NO_INFO_IMAGE
# define PNG_INFO_IMAGE_SUPPORTED # define PNG_INFO_IMAGE_SUPPORTED
@ -1228,9 +1230,9 @@ typedef short png_int_16;
typedef unsigned char png_byte; typedef unsigned char png_byte;
#ifdef PNG_NO_SIZE_T #ifdef PNG_NO_SIZE_T
typedef unsigned int png_size_t; typedef unsigned int png_size_t;
#else #else
typedef size_t png_size_t; typedef size_t png_size_t;
#endif #endif
#define png_sizeof(x) sizeof(x) #define png_sizeof(x) sizeof(x)