accoredefs.h 908 B

123456789101112131415161718192021222324252627282930
  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 2015 Autodesk, Inc. All rights reserved.
  4. //
  5. // Use of this software is subject to the terms of the Autodesk license
  6. // agreement provided at the time of installation or download, or which
  7. // otherwise accompanies this software in either electronic or hard copy form.
  8. //
  9. //////////////////////////////////////////////////////////////////////////////
  10. //
  11. #pragma once
  12. #ifndef ACCOREDEFS_H
  13. #define ACCOREDEFS_H
  14. #ifndef ACCORE_PORT
  15. #ifdef ACCORE_API
  16. #define ACCORE_PORT _declspec(dllexport)
  17. #define ACCORE_DATA_PORT _declspec(dllexport) extern
  18. #define ACCORE_STATIC_DATA_PORT _declspec(dllexport) static
  19. #else
  20. #define ACCORE_PORT
  21. #define ACCORE_DATA_PORT _declspec(dllimport) extern
  22. #define ACCORE_STATIC_DATA_PORT _declspec(dllimport) static
  23. #endif
  24. #endif
  25. #endif //ACCOREDEFS_H