[libpng17] Imported from libpng-1.7.0beta35.tar

This commit is contained in:
Glenn Randers-Pehrson
2014-08-06 08:51:39 -05:00
parent f3b1eb68a6
commit 1a9c06b11a
36 changed files with 112 additions and 368 deletions

View File

@@ -1,7 +1,7 @@
/* pngconf.h - machine configurable file for libpng
*
* libpng version 1.7.0beta35 - March 17, 2014
* libpng version 1.7.0beta35 - August 6, 2014
*
* Copyright (c) 1998-2013 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
@@ -360,7 +360,7 @@
* version 1.2.41. Disabling these removes the warnings but may also produce
* less efficient code.
*/
# if defined(__clang__)
# if defined(__clang__) && defined(__has_attribute)
/* Clang defines both __clang__ and __GNUC__. Check __clang__ first. */
# if !defined(PNG_USE_RESULT) && __has_attribute(__warn_unused_result__)
# define PNG_USE_RESULT __attribute__((__warn_unused_result__))