mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
In all prior versions of libpng most configuration options
controlled by compiler #defines had to be repeated by the
application code that used libpng. This patch changes this
so that compilation options that can only be changed at build
time are frozen in the build. Options that are compiler
dependent (and those that are system dependent) are evaluated
each time - pngconf.h holds these. Options that can be changed
per-file in the application are in png.h. Frozen options are
in the new installed header file pnglconf.h
39 lines
1.6 KiB
Plaintext
39 lines
1.6 KiB
Plaintext
|
|
/* pngwin.dfn - define format of pngwin.def
|
|
*
|
|
* Last changed in libpng 1.5.0 [March 12, 2010]
|
|
* Copyright (c) 1998-2010 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_EXPORT(type, name, args, attributes, ordinal)\
|
|
PNG_DEFN_MAGIC- name @ordinal-PNG_DEFN_END
|
|
#define PNG_REMOVED(type, name, args, attributes, ordinal)\
|
|
PNG_DEFN_MAGIC-; name @ordinal-PNG_DEFN_END
|
|
#define PNG_EXPORT_LAST_ORDINAL(ordinal)\
|
|
PNG_DEFN_MAGIC-; @ordinal-PNG_DEFN_END
|
|
|
|
PNG_DEFN_MAGIC-;---------------------------------------------------------------PNG_DEFN_END
|
|
PNG_DEFN_MAGIC-; LIBPNG module definition file for Windows, WindowsCE and OS/2-PNG_DEFN_END
|
|
PNG_DEFN_MAGIC-; On OS/2 uncomment lines preceded by ;0S2-PNG_DEFN_END
|
|
PNG_DEFN_MAGIC-;---------------------------------------------------------------PNG_DEFN_END
|
|
PNG_DEFN_MAGIC--PNG_DEFN_END
|
|
PNG_DEFN_MAGIC-; If you give the library an explicit name one or other files-PNG_DEFN_END
|
|
PNG_DEFN_MAGIC-; may need modifying to support the new name on one or more-PNG_DEFN_END
|
|
PNG_DEFN_MAGIC-; systems.-PNG_DEFN_END
|
|
PNG_DEFN_MAGIC-LIBRARY-PNG_DEFN_END
|
|
PNG_DEFN_MAGIC-;OS2 DESCRIPTION "PNG image compression library"-PNG_DEFN_END
|
|
PNG_DEFN_MAGIC-;OS2 CODE PRELOAD MOVEABLE DISCARDABLE-PNG_DEFN_END
|
|
PNG_DEFN_MAGIC--PNG_DEFN_END
|
|
PNG_DEFN_MAGIC-EXPORTS-PNG_DEFN_END
|
|
PNG_DEFN_MAGIC-;Version PNGLIB_VERSION-PNG_DEFN_END
|
|
|
|
/* Read the defaults, but use scripts/pnglconf.h; the 'standard'
|
|
* header file.
|
|
*/
|
|
#include "pnglconf.h"
|
|
#include "../png.h"
|