00001 00008 /***************************************************************************** 00009 ** Ifdefs 00010 *****************************************************************************/ 00011 00012 #ifndef ECL_TIME_LITE_TYPES_WIN_HPP_ 00013 #define ECL_TIME_LITE_TYPES_WIN_HPP_ 00014 00015 /***************************************************************************** 00016 ** Cross Platform Configuration 00017 *****************************************************************************/ 00018 00019 #include <ecl/time_lite/config.hpp> 00020 #include "macros.hpp" 00021 00022 #if defined(ECL_HAS_WIN_TIMERS) 00023 00024 /***************************************************************************** 00025 ** Include 00026 *****************************************************************************/ 00027 00028 #include <ctime> 00029 #include <ecl/config/macros.hpp> 00030 00031 /***************************************************************************** 00032 ** Namespaces 00033 *****************************************************************************/ 00034 00035 namespace ecl { 00036 00037 /***************************************************************************** 00038 ** Structures 00039 *****************************************************************************/ 00040 00046 struct ecl_time_lite_PUBLIC TimeStructure { 00047 time_t tv_sec; 00048 long tv_nsec; 00049 }; 00050 00051 } // namespace ecl 00052 #endif 00053 #endif /* ECL_TIME_LITE_TYPES_WIN_HPP_ */