22
24
//Unavailable definitions under mac & windows (not sure why)
23
25
#if defined(__APPLE__) || defined(_WIN32) || defined(_WIN64) || defined(__CYGWIN__)
24
27
#define png_infopp_NULL (png_infopp)NULL
25
30
#define int_p_NULL (int*)NULL
30
34
int check_if_png(const char *file_name, FILE **fp, unsigned int bytes_to_check)