diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2014-03-06 12:35:04 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2014-03-06 13:15:45 -0600 |
commit | 1cc02f0395aa85e71927c5a45b4bc8091a7d9ef8 (patch) | |
tree | 3ca04025157dc47c8f82e90925941e167f7b3519 /pngconf.h | |
parent | a710317d2f9cb1e154861c000ee1cc1c70794a85 (diff) | |
download | libpng-baserock/mikedrake/update-chunks.tar.gz |
[master] Imported from libpng-1.6.10.tarbaserock/mikedrake/update-chunksbaserock/mikedrake/libpng-upgrade
Diffstat (limited to 'pngconf.h')
-rw-r--r-- | pngconf.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,7 +1,7 @@ /* pngconf.h - machine configurable file for libpng * - * libpng version 1.6.9 - February 6, 2014 + * libpng version 1.6.10 - March 6, 2014 * * Copyright (c) 1998-2013 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) @@ -376,9 +376,11 @@ # define PNG_DEPRECATED __attribute__((__deprecated__)) # endif # if !defined(PNG_PRIVATE) -# if __has_extension(attribute_unavailable_with_message) -# define PNG_PRIVATE __attribute__((__unavailable__(\ - "This function is not exported by libpng."))) +# ifdef __has_extension +# if __has_extension(attribute_unavailable_with_message) +# define PNG_PRIVATE __attribute__((__unavailable__(\ + "This function is not exported by libpng."))) +# endif # endif # endif # ifndef PNG_RESTRICT |