[libpng16] Made pngvalid so that it will build outside the libpng source tree.

This commit is contained in:
John Bowler
2012-10-25 19:15:55 -05:00
committed by Glenn Randers-Pehrson
parent be85fa6027
commit e6b710cb3f
3 changed files with 7 additions and 1 deletions

View File

@@ -107,7 +107,11 @@ typedef png_byte *png_const_bytep;
#endif
/***************************** EXCEPTION HANDLING *****************************/
#include "../visupng/cexcept.h"
#ifdef PNG_FREESTANDING_TESTS
# include <cexcept.h>
#else
# include "../visupng/cexcept.h"
#endif
#ifdef __cplusplus
# define this not_the_cpp_this