#ifndef __UT_EXPORT_H__
#define __UT_EXPORT_H__

#if defined( _MSC_VER ) || defined( __CYGWIN__ ) || defined( __MINGW32__ ) || \
    defined( mingw ) || defined(WIN32)
    #  if defined( POIMG_LIBRARY_STATIC )
    #    define POIMG_IMPORT_EXPORT
    #  elif defined( POIMG_BUILD_LIBRARY )
    #    define POIMG_IMPORT_EXPORT __declspec(dllexport)
    #  else
    #    define POIMG_IMPORT_EXPORT __declspec(dllimport)
    #  endif
#else
    #  define POIMG_IMPORT_EXPORT
#endif

#endif /* __UT_EXPORT_H__ */
