diff options
author | Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> | 2013-03-27 17:59:01 +0100 |
---|---|---|
committer | Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> | 2013-03-27 17:59:01 +0100 |
commit | 12b417ba3d264232dc3055ee68fd4069da9e167f (patch) | |
tree | 0b494d0762ec39efa87443ecde4d1c1023eae7f4 | |
parent | b7318c5702d2c6693bdc785ca37e870ba56ba39b (diff) | |
download | glmark2-12b417ba3d264232dc3055ee68fd4069da9e167f.tar.gz |
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 <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r-- | src/libpng/png.h | 6 |
1 files 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 |