1
0
forked from 0ad/0ad
0ad/source/lib/external_libraries/png.h
janwas 78d950e419 Add some missing file comments in source/lib.
win_internal -> win.h (pulls in <windows.h>, with fixes afterwards)
remove empty waio_internal and wsysdep
Move source/sound license notice into source/sound/license.txt

This was SVN commit r5044.
2007-05-08 15:11:53 +00:00

24 lines
684 B
C

/**
* =========================================================================
* File : png.h
* Project : 0 A.D.
* Description : bring in LibPNG header+library, with compatibility fixes
* =========================================================================
*/
// license: GPL; see lib/license.txt
// <png.h> includes <zlib.h>, which requires some fixes by our header.
#include "lib/external_libraries/zlib.h"
#include <png.h>
// automatically link against the required library
#if MSC_VERSION
# ifdef NDEBUG
# pragma comment(lib, "libpng13.lib")
# else
# pragma comment(lib, "libpng13d.lib")
# endif // NDEBUG
#endif // MSC_VERSION