time/macros.hpp
Go to the documentation of this file.
1 
8 /*****************************************************************************
9 ** Ifdefs
10 *****************************************************************************/
11 
12 #ifndef ECL_TIME_MACROS_HPP_
13 #define ECL_TIME_MACROS_HPP_
14 
15 /*****************************************************************************
16 ** Includes
17 *****************************************************************************/
18 
19 #include <ecl/config/macros.hpp>
20 #include <ecl/config/ecl.hpp>
21 
22 /*****************************************************************************
23 ** Declspecs
24 *****************************************************************************/
25 
26 /*
27  * Import/exports symbols for the library
28  */
29 #ifdef ECL_HAS_SHARED_LIBS // ecl is being built around shared libraries
30  #ifdef ecl_time_EXPORTS // we are building a shared lib/dll
31  #define ecl_time_PUBLIC ECL_HELPER_EXPORT
32  #else // we are using shared lib/dll
33  #define ecl_time_PUBLIC ECL_HELPER_IMPORT
34  #endif
35  #define ecl_time_LOCAL ECL_HELPERS_LOCAL
36 #else // ecl is being built around static libraries
37  #define ecl_time_PUBLIC
38  #define ecl_time_LOCAL
39 #endif
40 
41 #endif /* ECL_TIME_MACROS_HPP_ */


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