[libpng17] Make symbol prefixing work with the ARM neon optimizations. Also

allow pngpriv.h to be included for preprocessor definitions only, so
it can be used in non-C/C++ files.
This commit is contained in:
John Bowler
2013-02-04 18:00:34 -06:00
committed by Glenn Randers-Pehrson
parent 2969375aa6
commit 9124f3e29a
5 changed files with 53 additions and 29 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 */