[libpng16] Added symbol prefixing that allows all the libpng external symbols

to be prefixed (suggested by Reuben Hawkins).  This is work in progress that
breaks some non-configure builds.
This commit is contained in:
John Bowler
2012-01-31 07:28:13 -06:00
committed by Glenn Randers-Pehrson
parent 572b078d8c
commit 42369ccd85
10 changed files with 126 additions and 15 deletions

18
scripts/intprefix.dfn Normal file
View File

@@ -0,0 +1,18 @@
/* intprefix.dfn - generate an unprefixed internal symbol list
*
* Last changed in libpng version 1.6.0 [January 30, 2012]
* Copyright (c) 2012 Glenn Randers-Pehrson
*
* This code is released under the libpng license.
* For conditions of distribution and use, see the disclaimer
* and license in png.h
*/
#define PNG_INTERNAL_DATA(type, name, array)\
PNG_DEFN_MAGIC-name-PNG_DEFN_END
#define PNG_INTERNAL_FUNCTION(type, name, args, attributes)\
PNG_DEFN_MAGIC-name-PNG_DEFN_END
#include "../pngpriv.h"