Ticket #583: ppc_rounding_control.hpp.patch

File ppc_rounding_control.hpp.patch, 564 bytes (added by ccambly@…, 15 years ago)

conflicting declarations from math.h

  • boost/numeric/interval/detail/ppc_rounding_control.hpp

    old new  
    5151
    5252} // namespace detail
    5353
     54// Do not declare the following C99 symbols if <math.h> provides them.
     55// Otherwise, conflicts may occur, due to differences between prototypes.
     56#if !defined(_ISOC99_SOURCE) && !defined(__USE_ISOC99)
    5457extern "C" {
    5558  float rintf(float);
    5659  double rint(double);
    5760}
     61#endif
    5862
    5963template<>
    6064struct rounding_control<float>: