posix_time_system.hpp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. #ifndef POSIX_TIME_SYSTEM_HPP___
  2. #define POSIX_TIME_SYSTEM_HPP___
  3. /* Copyright (c) 2002,2003 CrystalClear Software, Inc.
  4. * Use, modification and distribution is subject to the
  5. * Boost Software License, Version 1.0. (See accompanying
  6. * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
  7. * Author: Jeff Garland
  8. * $Date$
  9. */
  10. #include "boost/date_time/posix_time/posix_time_config.hpp"
  11. #include "boost/date_time/time_system_split.hpp"
  12. #include "boost/date_time/time_system_counted.hpp"
  13. #include "boost/date_time/compiler_config.hpp"
  14. namespace boost {
  15. namespace posix_time {
  16. #ifdef BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG
  17. #if (defined(BOOST_DATE_TIME_NO_MEMBER_INIT)) //help bad compilers
  18. typedef date_time::split_timedate_system<posix_time_system_config, 1000000000> posix_time_system;
  19. #else
  20. typedef date_time::split_timedate_system<posix_time_system_config> posix_time_system;
  21. #endif
  22. #else
  23. typedef date_time::counted_time_rep<millisec_posix_time_system_config> int64_time_rep;
  24. typedef date_time::counted_time_system<int64_time_rep> posix_time_system;
  25. #endif
  26. } }//namespace posix_time
  27. #endif