macros.hpp
Go to the documentation of this file.
00001 
00008 /*****************************************************************************
00009 ** Ifdefs
00010 *****************************************************************************/
00011 
00012 #ifndef ECL_TYPE_TRAITS_MACROS_HPP_
00013 #define ECL_TYPE_TRAITS_MACROS_HPP_
00014 
00015 /*****************************************************************************
00016 ** Includes
00017 *****************************************************************************/
00018 
00019 #include <ecl/config/macros.hpp>
00020 
00021 /*****************************************************************************
00022 ** PreProcessing
00023 *****************************************************************************/
00024 /*
00025  * Import/exports symbols for the library
00026  */
00027 #ifdef ECL_HAS_SHARED_LIBS // ecl is being built around shared libraries
00028   #ifdef ecl_type_traits_EXPORTS // we are building a shared lib/dll
00029     #define ecl_type_traits_PUBLIC ECL_HELPER_EXPORT
00030   #else // we are using shared lib/dll
00031     #define ecl_type_traits_PUBLIC ECL_HELPER_IMPORT
00032   #endif
00033   #define ecl_type_traits_LOCAL ECL_HELPERS_LOCAL
00034 #else // ecl is being built around static libraries
00035   #define ecl_type_traits_PUBLIC
00036   #define ecl_type_traits_LOCAL
00037 #endif
00038 
00039 
00040 #endif /* ECL_TYPE_TRAITS_MACROS_HPP_*/


ecl_type_traits
Author(s): Daniel Stonier
autogenerated on Thu Jun 6 2019 21:17:32