S3_EXPORTS.h 845 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
  3. * SPDX-License-Identifier: Apache-2.0.
  4. */
  5. #pragma once
  6. #ifdef _MSC_VER
  7. //disable windows complaining about max template size.
  8. #pragma warning (disable : 4503)
  9. #endif // _MSC_VER
  10. #if defined (USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32)
  11. #ifdef _MSC_VER
  12. #pragma warning(disable : 4251)
  13. #endif // _MSC_VER
  14. #ifdef USE_IMPORT_EXPORT
  15. #ifdef AWS_S3_EXPORTS
  16. #define AWS_S3_API __declspec(dllexport)
  17. #else
  18. #define AWS_S3_API __declspec(dllimport)
  19. #endif /* AWS_S3_EXPORTS */
  20. #else
  21. #define AWS_S3_API
  22. #endif // USE_IMPORT_EXPORT
  23. #else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
  24. #define AWS_S3_API
  25. #endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)