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 "config.hpp" 00020 00021 #if defined(ECL_HAS_WIN_TIMERS) 00022 00023 /***************************************************************************** 00024 ** Include 00025 *****************************************************************************/ 00026 00027 #include <ctime> 00028 #include <ecl/config/macros.hpp> 00029 00030 /***************************************************************************** 00031 ** Namespaces 00032 *****************************************************************************/ 00033 00034 namespace ecl { 00035 00036 /***************************************************************************** 00037 ** Structures 00038 *****************************************************************************/ 00039 00045 struct ECL_PUBLIC TimeStructure { 00046 time_t tv_sec; 00047 long tv_nsec; 00048 }; 00049 00050 } // namespace ecl 00051 #endif 00052 #endif /* ECL_TIME_LITE_TYPES_WIN_HPP_ */