CTKExport.h 609 B

12345678910111213141516171819202122
  1. // .NAME __@MY_EXPORT_HEADER_PREFIX@Export - manage Windows system differences
  2. // .SECTION Description
  3. // The __@MY_EXPORT_HEADER_PREFIX@Export captures some system differences between Unix
  4. // and Windows operating systems.
  5. #ifndef __@MY_EXPORT_HEADER_PREFIX@Export_h
  6. #define __@MY_EXPORT_HEADER_PREFIX@Export_h
  7. #if defined(WIN32) && !defined(@MY_LIBNAME@_STATIC)
  8. #if defined(@MY_LIBNAME@_EXPORTS)
  9. #define @MY_LIBRARY_EXPORT_DIRECTIVE@ __declspec( dllexport )
  10. #else
  11. #define @MY_LIBRARY_EXPORT_DIRECTIVE@ __declspec( dllimport )
  12. #endif
  13. #else
  14. #define @MY_LIBRARY_EXPORT_DIRECTIVE@
  15. #endif
  16. #endif