From 12b417ba3d264232dc3055ee68fd4069da9e167f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= Date: Wed, 27 Mar 2013 17:59:01 +0100 Subject: Fix build with gcc 4.8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gcc 4.8 interprets ""m as a C++11 string literal - need to add a space to make sure it is interpreted the way it should be. Signed-off-by: Bernhard Rosenkränzer --- src/libpng/png.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libpng/png.h b/src/libpng/png.h index 42e7013..f90b3f4 100644 --- a/src/libpng/png.h +++ b/src/libpng/png.h @@ -2642,7 +2642,7 @@ extern PNG_EXPORT(void, png_write_png) PNGARG((png_structp png_ptr, # define png_debug(l,m) \ { \ int num_tabs=l; \ - fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \ + fprintf(PNG_DEBUG_FILE,"%s" m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \ (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":"")))); \ } # endif @@ -2650,7 +2650,7 @@ extern PNG_EXPORT(void, png_write_png) PNGARG((png_structp png_ptr, # define png_debug1(l,m,p1) \ { \ int num_tabs=l; \ - fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \ + fprintf(PNG_DEBUG_FILE,"%s" m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \ (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":""))),p1); \ } # endif @@ -2658,7 +2658,7 @@ extern PNG_EXPORT(void, png_write_png) PNGARG((png_structp png_ptr, # define png_debug2(l,m,p1,p2) \ { \ int num_tabs=l; \ - fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \ + fprintf(PNG_DEBUG_FILE,"%s" m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \ (num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":""))),p1,p2); \ } # endif -- cgit v1.2.3