mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[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:
committed by
Glenn Randers-Pehrson
parent
572b078d8c
commit
42369ccd85
20
scripts/prefix.dfn
Normal file
20
scripts/prefix.dfn
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
/* prefix.dfn - generate an unprefixed 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_EXPORTA(ordinal, type, name, args, attributes)\
|
||||
PNG_DEFN_MAGIC-name-PNG_DEFN_END
|
||||
|
||||
/* The configuration information *before* the additional of symbol renames,
|
||||
* the list is the C name list; no symbol prefix.
|
||||
*/
|
||||
#include "pnglibconf.out"
|
||||
|
||||
#include "../png.h"
|
||||
Reference in New Issue
Block a user