| 1 | *** boost/date_time/time_resolution_traits.hpp~ Mon Feb 22 13:54:18 2010
|
|---|
| 2 | --- boost/date_time/time_resolution_traits.hpp Mon Feb 22 13:54:52 2010
|
|---|
| 3 | ***************
|
|---|
| 4 | *** 68,83 ****
|
|---|
| 5 | --- 68,94 ----
|
|---|
| 6 | typename frac_sec_type::int_type resolution_adjust,
|
|---|
| 7 | #endif
|
|---|
| 8 | unsigned short frac_digits,
|
|---|
| 9 | + #if defined(_AIX)
|
|---|
| 10 | + typename boost_v_type = boost::int32_t >
|
|---|
| 11 | + #else
|
|---|
| 12 | typename v_type = boost::int32_t >
|
|---|
| 13 | + #endif
|
|---|
| 14 | class time_resolution_traits {
|
|---|
| 15 | public:
|
|---|
| 16 | typedef typename frac_sec_type::int_type fractional_seconds_type;
|
|---|
| 17 | typedef typename frac_sec_type::int_type tick_type;
|
|---|
| 18 | typedef typename frac_sec_type::impl_type impl_type;
|
|---|
| 19 | + #if defined(_AIX)
|
|---|
| 20 | + typedef boost_v_type day_type;
|
|---|
| 21 | + typedef boost_v_type hour_type;
|
|---|
| 22 | + typedef boost_v_type min_type;
|
|---|
| 23 | + typedef boost_v_type sec_type;
|
|---|
| 24 | + #else
|
|---|
| 25 | typedef v_type day_type;
|
|---|
| 26 | typedef v_type hour_type;
|
|---|
| 27 | typedef v_type min_type;
|
|---|
| 28 | typedef v_type sec_type;
|
|---|
| 29 | + #endif
|
|---|
| 30 |
|
|---|
| 31 | // bring in function from frac_sec_type traits structs
|
|---|
| 32 | static fractional_seconds_type as_number(impl_type i)
|
|---|