/Src/Dependencies/Boost/boost/date_time/posix_time/posix_time_system.hpp

http://hadesmem.googlecode.com/ · C++ Header · 68 lines · 20 code · 41 blank · 7 comment · 0 complexity · a9a0b58dafbd1b6e8978f588dd13776f MD5 · raw file

  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: 2008-02-28 07:00:24 +1100 (Thu, 28 Feb 2008) $
  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