File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 66 * SPDX-License-Identifier: Apache-2.0.
77 */
88
9- #if defined(USE_WINDOWS_DLL_SEMANTICS ) || defined(WIN32 )
9+ #if defined(AWS_CRT_USE_WINDOWS_DLL_SEMANTICS ) || defined(_WIN32 )
1010# ifdef AWS_S3_USE_IMPORT_EXPORT
1111# ifdef AWS_S3_EXPORTS
1212# define AWS_S3_API __declspec(dllexport)
1818# endif /*USE_IMPORT_EXPORT */
1919
2020#else
21- # if (( __GNUC__ >= 4 ) || defined( __clang__ )) && defined(AWS_S3_USE_IMPORT_EXPORT ) && defined(AWS_S3_EXPORTS )
21+ # if defined(AWS_S3_USE_IMPORT_EXPORT ) && defined(AWS_S3_EXPORTS )
2222# define AWS_S3_API __attribute__((visibility("default")))
2323# else
2424# define AWS_S3_API
25- # endif /* __GNUC__ >= 4 || defined(__clang__) */
25+ # endif
2626
27- #endif /* defined(USE_WINDOWS_DLL_SEMANTICS ) || defined(WIN32 ) */
27+ #endif /* defined(AWS_CRT_USE_WINDOWS_DLL_SEMANTICS ) || defined(_WIN32 ) */
2828
2929#endif /* AWS_S3_EXPORTS_H */
Original file line number Diff line number Diff line change 99#include <aws/s3/s3_client.h>
1010
1111#include <aws/auth/auth.h>
12+ #include <aws/checksums/checksums.h>
1213#include <aws/common/error.h>
1314#include <aws/common/hash_table.h>
1415#include <aws/http/http.h>
@@ -195,6 +196,7 @@ void aws_s3_library_init(struct aws_allocator *allocator) {
195196
196197 aws_auth_library_init (s_library_allocator );
197198 aws_http_library_init (s_library_allocator );
199+ aws_checksums_library_init (s_library_allocator );
198200
199201 aws_register_error_info (& s_error_list );
200202 aws_register_log_subject_info_list (& s_s3_log_subject_list );
@@ -231,5 +233,6 @@ void aws_s3_library_clean_up(void) {
231233 aws_unregister_error_info (& s_error_list );
232234 aws_http_library_clean_up ();
233235 aws_auth_library_clean_up ();
236+ aws_checksums_library_clean_up ();
234237 s_library_allocator = NULL ;
235238}
You can’t perform that action at this time.
0 commit comments