projects
/
platform
/
upstream
/
libpng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.6.21
[platform/upstream/libpng.git]
/
contrib
/
examples
/
iccfrompng.c
diff --git
a/contrib/examples/iccfrompng.c
b/contrib/examples/iccfrompng.c
index
386e522
..
603037e
100644
(file)
--- a/
contrib/examples/iccfrompng.c
+++ b/
contrib/examples/iccfrompng.c
@@
-26,6
+26,10
@@
#include <png.h>
#include <png.h>
+#if defined(PNG_READ_SUPPORTED) && defined(PNG_STDIO_SUPPORTED) && \
+ defined (PNG_iCCP_SUPPORTED)
+
+
static int verbose = 1;
static png_byte no_profile[] = "no profile";
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;
}
/* Exit code is true if any extract succeeds */
return extracted == 0;
}
+#endif /* READ && STDIO && iCCP */