openimageio_idiff.diff 506 B

1234567891011121314
  1. --- idiff.cpp 2016-11-18 11:42:01 -0700
  2. +++ idiff.cpp 2016-11-18 11:41:25 -0700
  3. @@ -308,8 +308,10 @@
  4. // printed with three digit exponent. We change this behaviour to fit
  5. // Linux way
  6. #ifdef _MSC_VER
  7. +#if _MSC_VER < 1900
  8. _set_output_format(_TWO_DIGIT_EXPONENT);
  9. #endif
  10. +#endif
  11. std::streamsize precis = std::cout.precision();
  12. std::cout << " " << cr.nwarn << " pixels ("
  13. << std::setprecision(3) << (100.0*cr.nwarn / npels)