[libpng15] Enabled renaming of the extern (but not DLL exported) ARM filter

functions.  Also enabled inclusion of pngpriv.h in non-C files by preventing
C/C++ specific definitions if PNG_VERSION_INFO_ONLY is defined.
This commit is contained in:
John Bowler
2013-02-04 17:49:11 -06:00
committed by Glenn Randers-Pehrson
parent 6636826302
commit c9f2269857
4 changed files with 32 additions and 13 deletions

View File

@@ -10,6 +10,10 @@
* and license in png.h
*/
/* This is required to get the symbol renames, which are #defines */
#define PNG_VERSION_INFO_ONLY
#include "../pngpriv.h"
#ifdef __arm__
#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits /* mark stack as non-executable */