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


ecl_type_traits
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:22