Ticket #1261: boost-datetime-no-iostreams-int_adapter.hpp.patch

File boost-datetime-no-iostreams-int_adapter.hpp.patch, 637 bytes (added by michael.fink@…, 15 years ago)

patch to fix include dependency to <iostreams>

  • int_adapter.hpp

    RCS file: /cvsroot/boost/boost/boost/date_time/int_adapter.hpp,v
    retrieving revision 1.15
    diff -u -r1.15 int_adapter.hpp
     
    1414#include "boost/limits.hpp" //work around compilers without limits
    1515#include "boost/date_time/special_defs.hpp"
    1616#include "boost/date_time/locale_config.hpp"
    17 #include <iostream>
     17#ifndef BOOST_DATE_TIME_NO_LOCALE
     18#  include <iostream>
     19#endif
    1820
    1921namespace boost {
    2022namespace date_time {