diff --git a/pngtest.c b/pngtest.c index 81da72126..ba2b7463e 100644 --- a/pngtest.c +++ b/pngtest.c @@ -45,6 +45,11 @@ #include "png.h" +/* This hack was introduced for historical reasons, and we are + * still keeping it in libpng-1.6.x for compatibility reasons. + */ +#define STDERR stdout + /* Generate a compiler error if there is an old png.h in the search path. */ typedef png_libpng_version_1_6_44_git Your_png_h_is_not_version_1_6_44_git; @@ -103,11 +108,6 @@ typedef png_libpng_version_1_6_44_git Your_png_h_is_not_version_1_6_44_git; typedef FILE * png_FILE_p; #endif -/* This hack was introduced for historical reasons, and we are - * still keeping it in libpng-1.6.x for compatibility reasons. - */ -#define STDERR stdout - #ifndef PNG_DEBUG # define PNG_DEBUG 0 #endif