Ticket #3743 (closed Patches: fixed)
support for partially broken compilers/platforms
|Reported by:||arvid@…||Owned by:||chris_kohlhoff|
|Version:||Boost Development Trunk||Severity:||Problem|
The following patch may not be complete, but it solved some problems for me on a GCC 2.95 platform.
The patch does 3 things:
- Replace #include<limits> with #include <boost/limits.hpp> which emulates a limits header for platforms that don't have one
- It #ifdefs out any iostream related code for platforms where BOOST_NO_IOSTREAM is defined
- It falls back to a second timer for the default deadline_timer in case BOOST_DATE_TIME_HAS_HIGH_PRECISION_CLOCK is not defined. It that's not defined there is no microsec_clock, and the current code fails to compile.