From d0797f5b539b01a7511344a15c83a1cb76b101fa Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Tue, 12 Jul 2011 10:28:02 -0500 Subject: [PATCH] [devel] Revised manual paragraph about use of 'NO' macros. --- libpng-manual.txt | 8 ++++---- libpng.3 | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libpng-manual.txt b/libpng-manual.txt index a1a6db72e..6a7ac86b9 100644 --- a/libpng-manual.txt +++ b/libpng-manual.txt @@ -4214,10 +4214,10 @@ if the feature is supported or: /*#undef PNG_feature_SUPPORTED*/ if it is not. Library code consistently checks for the 'SUPPORTED' macro. -It does not, and should not, check for the 'NO' macro which will not -normally be defined even if the feature is not supported. The 'NO' macros -are only used internally for setting the corresponding 'SUPPORTED' macros -or not. +It does not, and libpng applications should not, check for the 'NO' macro +which will not normally be defined even if the feature is not supported. +The 'NO' macros are only used internally for setting or not setting the +corresponding 'SUPPORTED' macros. Compatibility with the old names is provided as follows: diff --git a/libpng.3 b/libpng.3 index eb2b5145f..2a88cb513 100644 --- a/libpng.3 +++ b/libpng.3 @@ -5169,10 +5169,10 @@ if the feature is supported or: /*#undef PNG_feature_SUPPORTED*/ if it is not. Library code consistently checks for the 'SUPPORTED' macro. -It does not, and should not, check for the 'NO' macro which will not -normally be defined even if the feature is not supported. The 'NO' macros -are only used internally for setting the corresponding 'SUPPORTED' macros -or not. +It does not, and libpng applications should not, check for the 'NO' macro +which will not normally be defined even if the feature is not supported. +The 'NO' macros are only used internally for setting or not setting the +corresponding 'SUPPORTED' macros. Compatibility with the old names is provided as follows: