summaryrefslogtreecommitdiffstats
path: root/config.tests/unix/libpng/libpng.cpp
blob: 7a3f2a76e62036e13aa1f741219e7908ff600856 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <png.h>

#if !defined(PNG_LIBPNG_VER) || PNG_LIBPNG_VER < 10017
#  error "Required libpng version 1.0.17 not found."
#endif

int main(int, char **)
{
    png_structp png_ptr;
    png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING,0,0,0);
    return 0;
}