export.hxx 897 B

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