[libpng16] Made 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. Back ported from libpng 1.7.
This commit is contained in:
John Bowler
2013-02-15 23:21:42 -06:00
committed by Glenn Randers-Pehrson
parent 681de8c8dc
commit 9d2e875826
4 changed files with 60 additions and 639 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 */