Update of /cvsroot/ufraw/ufraw In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15201
Modified Files: ufraw_writer.c Log Message: Simplify conditional compilation expressions. Index: ufraw_writer.c =================================================================== RCS file: /cvsroot/ufraw/ufraw/ufraw_writer.c,v retrieving revision 1.86 retrieving revision 1.87 diff -u -d -r1.86 -r1.87 --- ufraw_writer.c 12 Mar 2013 07:15:06 -0000 1.86 +++ ufraw_writer.c 16 Mar 2013 12:15:03 -0000 1.87 @@ -27,8 +27,8 @@ #ifdef HAVE_LIBZ #include <zlib.h> /* for libpng 1.5.x */ #endif -#if (PNG_LIBPNG_VER_MAJOR == 1) && ((PNG_LIBPNG_VER_MINOR < 5) || \ - ((PNG_LIBPNG_VER_MINOR == 5) && (PNG_LIBPNG_VER_RELEASE < 1))) +#if PNG_LIBPNG_VER_MAJOR == 1 && (PNG_LIBPNG_VER_MINOR < 5 || \ + (PNG_LIBPNG_VER_MINOR == 5 && PNG_LIBPNG_VER_RELEASE < 1)) #define png_const_bytep png_charp #endif #endif @@ -831,8 +831,8 @@ *dp++ = '\n'; *dp = '\0'; -#if ((PNG_LIBPNG_VER_MAJOR > 1) || ((PNG_LIBPNG_VER_MAJOR == 1) && \ -(PNG_LIBPNG_VER_MINOR > 2))) && (defined(INT_MAX) && (INT_MAX > 0x7ffffffeL)) +#if (PNG_LIBPNG_VER_MAJOR > 1 || (PNG_LIBPNG_VER_MAJOR == 1 && \ +PNG_LIBPNG_VER_MINOR > 2)) && (defined(INT_MAX) && INT_MAX > 0x7ffffffeL) g_snprintf(dp, allocated_length - strlen(text[0].text), "%8u ", length); #else g_snprintf(dp, allocated_length - strlen(text[0].text), "%8lu ", length); ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ ufraw-cvs mailing list ufraw-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ufraw-cvs