export.h 364 B

1234567891011121314151617181920
  1. #ifndef NULLSOFT_BFC_EXPORT_H
  2. #define NULLSOFT_BFC_EXPORT_H
  3. #ifdef _MSC_VER
  4. #define DLLEXPORT __declspec(dllexport)
  5. #elif defined(__GNUC__)
  6. #define DLLEXPORT __attribute__ ((visibility("default")))
  7. #else
  8. #error port me!
  9. #endif
  10. #ifdef _MSC_VER
  11. #define DLLIMPORT __declspec(dllimport)
  12. #elif defined(__GNUC__)
  13. #define DLLIMPORT
  14. #else
  15. #error port me!
  16. #endif
  17. #endif