With old png.h, PNG_HAVE_IHDR is not defined unless PNG_INTERNAL is defined
This commit is contained in:
parent
4e7d77b9f9
commit
7d96e5a877
1 changed files with 1 additions and 0 deletions
|
|
@ -460,6 +460,7 @@ static void mtw(wchar_t * wtok, char * tok)
|
|||
|
||||
#endif
|
||||
|
||||
#define PNG_INTERNAL
|
||||
#include <png.h>
|
||||
#define FNAME_EXTENSION ".png"
|
||||
#ifndef PNG_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue