Attempt to prune as much of libpng as possible, and only keep what

Stella actually needs.  I suspect more stuff will be excluded as
I look through the options.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2057 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2010-06-17 16:27:45 +00:00
parent 99e7f6c5d0
commit 88e6b69195
1 changed files with 9 additions and 0 deletions

View File

@ -50,6 +50,15 @@
# include "pngusr.h"
#endif
/*
* Added by stephena - 2010/06/17
*
* Disable parts of the library that we know Stella will never use.
*/
#define PNG_NO_MNG_FEATURES
#define PNG_NO_PROGRESSIVE_READ
#define PNG_PROGRESSIVE_READ_NOT_SUPPORTED
/*
* If you create a private DLL you need to define in "pngusr.h" the followings:
* #define PNG_USER_PRIVATEBUILD <Describes by whom and why this version of