summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2013-02-17 16:07:33 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2013-02-17 16:07:33 -0600
commit354cd3930bdda1c6cdcedb5b685b599d45b84f40 (patch)
tree15361a032cb23455782956e1ff4a8acad6507422
parent8bf001b9da01a7b1a1b96af5dd1ec45c36edb359 (diff)
downloadlibpng-354cd3930bdda1c6cdcedb5b685b599d45b84f40.tar.gz
[libpng15] Folded a long line, more consistent use of parentheses
in "#if defined()" tests.
-rw-r--r--png.c8
-rw-r--r--pngconf.h2
-rw-r--r--pngtest.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/png.c b/png.c
index 00e7b7266..60d8f1392 100644
--- a/png.c
+++ b/png.c
@@ -14,7 +14,7 @@
#include "pngpriv.h"
/* Generate a compiler error if there is an old png.h in the search path. */
-typedef png_libpng_version_1_5_15beta05 Your_png_h_is_not_version_1_5_15beta05;
+typedef png_libpng_version_1_5_15beta02 Your_png_h_is_not_version_1_5_15beta02;
/* Tells libpng that we have already handled the first "num_bytes" bytes
* of the PNG file signature. If the PNG data is embedded into another
@@ -658,13 +658,13 @@ png_get_copyright(png_const_structp png_ptr)
#else
# ifdef __STDC__
return PNG_STRING_NEWLINE \
- "libpng version 1.5.15beta05 - February 17, 2013" PNG_STRING_NEWLINE \
+ "libpng version 1.5.15beta02 - February 5, 2013" PNG_STRING_NEWLINE \
"Copyright (c) 1998-2013 Glenn Randers-Pehrson" PNG_STRING_NEWLINE \
"Copyright (c) 1996-1997 Andreas Dilger" PNG_STRING_NEWLINE \
"Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc." \
PNG_STRING_NEWLINE;
# else
- return "libpng version 1.5.15beta05 - February 17, 2013\
+ return "libpng version 1.5.15beta02 - February 5, 2013\
Copyright (c) 1998-2013 Glenn Randers-Pehrson\
Copyright (c) 1996-1997 Andreas Dilger\
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.";
@@ -1907,7 +1907,7 @@ png_fixed(png_structp png_ptr, double fp, png_const_charp text)
#endif
#if defined(PNG_READ_GAMMA_SUPPORTED) || \
- defined(PNG_INCH_CONVERSIONS_SUPPORTED) || defined(PNG_READ_pHYs_SUPPORTED)
+ defined(PNG_INCH_CONVERSIONS_SUPPORTED) || defined(PNG__READ_pHYs_SUPPORTED)
/* muldiv functions */
/* This API takes signed arguments and rounds the result to the nearest
* integer (or, for a fixed point number - the standard argument - to
diff --git a/pngconf.h b/pngconf.h
index 0579209d9..3022bced2 100644
--- a/pngconf.h
+++ b/pngconf.h
@@ -1,7 +1,7 @@
/* pngconf.h - machine configurable file for libpng
*
- * libpng version 1.5.15beta05 - February 15, 2013
+ * libpng version 1.5.15beta02 - February 5, 2013
*
* Copyright (c) 1998-2013 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
diff --git a/pngtest.c b/pngtest.c
index d93249c65..a2051353d 100644
--- a/pngtest.c
+++ b/pngtest.c
@@ -1948,4 +1948,4 @@ main(void)
#endif
/* Generate a compiler error if there is an old png.h in the search path. */
-typedef png_libpng_version_1_5_15beta05 Your_png_h_is_not_version_1_5_15beta05;
+typedef png_libpng_version_1_5_15beta02 Your_png_h_is_not_version_1_5_15beta02;