diff options
Diffstat (limited to 'libcutl/cutl/details/export.hxx')
-rw-r--r-- | libcutl/cutl/details/export.hxx | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libcutl/cutl/details/export.hxx b/libcutl/cutl/details/export.hxx new file mode 100644 index 0000000..f9f764f --- /dev/null +++ b/libcutl/cutl/details/export.hxx @@ -0,0 +1,36 @@ +// file : cutl/details/export.hxx +// copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC +// license : MIT; see accompanying LICENSE file + +#ifndef CUTL_DETAILS_EXPORT_HXX +#define CUTL_DETAILS_EXPORT_HXX + +#include <cutl/details/config.hxx> + +#ifdef LIBCUTL_STATIC_LIB +# define LIBCUTL_EXPORT +#else +# ifdef _WIN32 +# ifdef _MSC_VER +# ifdef LIBCUTL_DYNAMIC_LIB +# define LIBCUTL_EXPORT __declspec(dllexport) +# else +# define LIBCUTL_EXPORT __declspec(dllimport) +# endif +# else +# ifdef LIBCUTL_DYNAMIC_LIB +# ifdef DLL_EXPORT +# define LIBCUTL_EXPORT __declspec(dllexport) +# else +# define LIBCUTL_EXPORT +# endif +# else +# define LIBCUTL_EXPORT __declspec(dllimport) +# endif +# endif +# else +# define LIBCUTL_EXPORT +# endif +#endif + +#endif // CUTL_DETAILS_EXPORT_HXX |