[libpng16] Removed cc -E workround, corrected png_get_palette_max API Tested on SUN OS cc 5.9,

which demonstrates the tokenization problem previously avoided by using /lib/cpp.
Since all .dfn output is now protected in double quotes unless it is to be macro
substituted the fix should work everywhere.
This commit is contained in:
John Bowler
2013-02-15 23:46:37 -06:00
committed by Glenn Randers-Pehrson
parent 42835d3d19
commit 0695fcd834
4 changed files with 25 additions and 26 deletions

View File

@@ -30,7 +30,7 @@
# are copied to the preprocessed file).
BEGIN{
out="/dev/null" # intermediate, preprocessed, file
out="" # intermediate, preprocessed, file
pre=-1 # preprocess (first line)
version="libpng version unknown" # version information
version_file="" # where to find the version
@@ -79,7 +79,7 @@ BEGIN{
}
# The output file must be specified before any input:
out == "/dev/null" {
out == "" {
print "out=output.file must be given on the command line"
err = 1
exit 1