| 1 |
// file : cutl/details/export.hxx |
| 2 |
// copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC |
| 3 |
// license : MIT; see accompanying LICENSE file |
| 4 |
|
| 5 |
#ifndef CUTL_DETAILS_EXPORT_HXX |
| 6 |
#define CUTL_DETAILS_EXPORT_HXX |
| 7 |
|
| 8 |
#include <cutl/details/config.hxx> |
| 9 |
|
| 10 |
#ifdef LIBCUTL_STATIC_LIB |
| 11 |
# define LIBCUTL_EXPORT |
| 12 |
#else |
| 13 |
# ifdef _WIN32 |
| 14 |
# ifdef _MSC_VER |
| 15 |
# ifdef LIBCUTL_DYNAMIC_LIB |
| 16 |
# define LIBCUTL_EXPORT __declspec(dllexport) |
| 17 |
# else |
| 18 |
# define LIBCUTL_EXPORT __declspec(dllimport) |
| 19 |
# endif |
| 20 |
# else |
| 21 |
# ifdef LIBCUTL_DYNAMIC_LIB |
| 22 |
# ifdef DLL_EXPORT |
| 23 |
# define LIBCUTL_EXPORT __declspec(dllexport) |
| 24 |
# else |
| 25 |
# define LIBCUTL_EXPORT |
| 26 |
# endif |
| 27 |
# else |
| 28 |
# define LIBCUTL_EXPORT __declspec(dllimport) |
| 29 |
# endif |
| 30 |
# endif |
| 31 |
# else |
| 32 |
# define LIBCUTL_EXPORT |
| 33 |
# endif |
| 34 |
#endif |
| 35 |
|
| 36 |
#endif // CUTL_DETAILS_EXPORT_HXX |