AcPl.h 858 B

12345678910111213141516171819202122232425262728293031
  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. // DESCRIPTION: Common header for plot APIs
  11. //
  12. #ifndef ACPL_H
  13. #define ACPL_H
  14. #if _MSC_VER >= 1000
  15. #pragma once
  16. #endif // _MSC_VER >= 1000
  17. /////////////////////////////////////////////////////////////////////////////
  18. // Note: _ACPL_BUILD should be defined only when building the DLL.
  19. #ifdef _ACPL_BUILD
  20. # define ACPL_PORT __declspec(dllexport)
  21. #else
  22. # define ACPL_PORT
  23. #endif
  24. #endif // ACPL_H