aboutsummaryrefslogtreecommitdiff
path: root/xml/details/export.hxx
blob: b4c4b58bd10a2192f79351c16c571cb41ba75009 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// file      : xml/details/export.hxx
// copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC
// license   : MIT; see accompanying LICENSE file

#ifndef XML_DETAILS_EXPORT_HXX
#define XML_DETAILS_EXPORT_HXX

#include <xml/details/config.hxx>

#ifdef LIBSTUDXML_STATIC_LIB
#  define LIBSTUDXML_EXPORT
#else
#  ifdef _WIN32
#    ifdef _MSC_VER
#      ifdef LIBSTUDXML_DYNAMIC_LIB
#        define LIBSTUDXML_EXPORT __declspec(dllexport)
#      else
#        define LIBSTUDXML_EXPORT __declspec(dllimport)
#      endif
#    else
#      ifdef LIBSTUDXML_DYNAMIC_LIB
#        ifdef DLL_EXPORT
#          define LIBSTUDXML_EXPORT __declspec(dllexport)
#        else
#          define LIBSTUDXML_EXPORT
#        endif
#      else
#        define LIBSTUDXML_EXPORT __declspec(dllimport)
#      endif
#    endif
#  else
#    define LIBSTUDXML_EXPORT
#  endif
#endif

#endif // XML_DETAILS_EXPORT_HXX