[libzomg] Fixed build issues when a system libpng isn't present.
authorDavid Korth <gerbilsoft@gerbilsoft.com>
Sat, 12 Sep 2015 16:11:21 +0000 (12:11 -0400)
committerDavid Korth <gerbilsoft@gerbilsoft.com>
Sat, 12 Sep 2015 16:11:21 +0000 (12:11 -0400)
commit4ec38100d4295b5008b040b133024fa022a822b6
tree253407dd3803f272a21d8d1146ab0ff17af00902
parenta1be0abac37afeb0330aca7912d906c611702a0f
[libzomg] Fixed build issues when a system libpng isn't present.

Define the PNG typedefs like before, but only if PNG_H isn't defined,
i.e. png.h hasn't been included.

Note that this means that if you #include "Metadata.hpp" and <png.h>
in the same file, you *must* #include <png.h> first.
src/libzomg/Metadata.cpp
src/libzomg/Metadata.hpp
src/libzomg/PngWriter.cpp