X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=contrib%2Fexamples%2Ficcfrompng.c;h=603037e7097203c5116df4e8b3729d317b9e34ae;hb=7b7ccdda02217a442f273ef9684706ecdef2acc5;hp=386e522a3348137cceab9f45480db8a3a9603ca9;hpb=361fb099aa967c1618d8071268abab395e67e86a;p=platform%2Fupstream%2Flibpng.git diff --git a/contrib/examples/iccfrompng.c b/contrib/examples/iccfrompng.c index 386e522..603037e 100644 --- a/contrib/examples/iccfrompng.c +++ b/contrib/examples/iccfrompng.c @@ -26,6 +26,10 @@ #include +#if defined(PNG_READ_SUPPORTED) && defined(PNG_STDIO_SUPPORTED) && \ + defined (PNG_iCCP_SUPPORTED) + + static int verbose = 1; static png_byte no_profile[] = "no profile"; @@ -178,3 +182,4 @@ main(int argc, char **argv) /* Exit code is true if any extract succeeds */ return extracted == 0; } +#endif /* READ && STDIO && iCCP */