Program Listing for File macros.hpp
↰ Return to documentation for file (/tmp/ws/src/ecl_core/ecl_streams/include/ecl/streams/macros.hpp
)
/*****************************************************************************
** Ifdefs
*****************************************************************************/
#ifndef ECL_STREAMS_MACROS_HPP_
#define ECL_STREAMS_MACROS_HPP_
/*****************************************************************************
** Includes
*****************************************************************************/
#include <ecl/config/macros.hpp>
#include <ecl/config/ecl.hpp>
/*****************************************************************************
** Declspecs
*****************************************************************************/
/*
* Import/exports symbols for the library
*/
#ifdef ECL_HAS_SHARED_LIBS // ecl is being built around shared libraries
#ifdef ecl_streams_EXPORTS // we are building a shared lib/dll
#define ecl_streams_PUBLIC ECL_HELPER_EXPORT
#else // we are using shared lib/dll
#define ecl_streams_PUBLIC ECL_HELPER_IMPORT
#endif
#define ecl_streams_LOCAL ECL_HELPERS_LOCAL
#else // ecl is being built around static libraries
#define ecl_streams_PUBLIC
#define ecl_streams_LOCAL
#endif
#endif /* ECL_STREAMS_MACROS_HPP_ */