.. _program_listing_file__tmp_ws_src_ecl_core_ecl_time_include_ecl_time_macros.hpp: Program Listing for File macros.hpp =================================== |exhale_lsh| :ref:`Return to documentation for file ` (``/tmp/ws/src/ecl_core/ecl_time/include/ecl/time/macros.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp /***************************************************************************** ** Ifdefs *****************************************************************************/ #ifndef ECL_TIME_MACROS_HPP_ #define ECL_TIME_MACROS_HPP_ /***************************************************************************** ** Includes *****************************************************************************/ #include #include /***************************************************************************** ** Declspecs *****************************************************************************/ /* * Import/exports symbols for the library */ #ifdef ECL_HAS_SHARED_LIBS // ecl is being built around shared libraries #ifdef ecl_time_EXPORTS // we are building a shared lib/dll #define ecl_time_PUBLIC ECL_HELPER_EXPORT #else // we are using shared lib/dll #define ecl_time_PUBLIC ECL_HELPER_IMPORT #endif #define ecl_time_LOCAL ECL_HELPERS_LOCAL #else // ecl is being built around static libraries #define ecl_time_PUBLIC #define ecl_time_LOCAL #endif #endif /* ECL_TIME_MACROS_HPP_ */