types_win.hpp
Go to the documentation of this file.
1 
8 /*****************************************************************************
9 ** Ifdefs
10 *****************************************************************************/
11 
12 #ifndef ECL_TIME_LITE_TYPES_WIN_HPP_
13 #define ECL_TIME_LITE_TYPES_WIN_HPP_
14 
15 /*****************************************************************************
16 ** Cross Platform Configuration
17 *****************************************************************************/
18 
19 #include <ecl/time_lite/config.hpp>
20 #include "macros.hpp"
21 
22 #if defined(ECL_HAS_WIN_TIMERS)
23 
24 /*****************************************************************************
25 ** Include
26 *****************************************************************************/
27 
28 #include <ctime>
29 #include <ecl/config/macros.hpp>
30 
31 /*****************************************************************************
32 ** Namespaces
33 *****************************************************************************/
34 
35 namespace ecl {
36 
37 /*****************************************************************************
38 ** Structures
39 *****************************************************************************/
40 
46 struct ecl_time_lite_PUBLIC TimeStructure {
47  time_t tv_sec;
48  long tv_nsec;
49 };
50 
51 } // namespace ecl
52 #endif
53 #endif /* ECL_TIME_LITE_TYPES_WIN_HPP_ */
Pre-processed macros that define time for the platform.
#define ecl_time_lite_PUBLIC


xbot_node
Author(s): Roc, wangpeng@droid.ac.cn
autogenerated on Sat Oct 10 2020 03:28:13