File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 6
6
* SPDX-License-Identifier: Apache-2.0.
7
7
*/
8
8
9
- #if defined(USE_WINDOWS_DLL_SEMANTICS ) || defined(WIN32 )
9
+ #if defined(AWS_CRT_USE_WINDOWS_DLL_SEMANTICS ) || defined(_WIN32 )
10
10
# ifdef AWS_HTTP_USE_IMPORT_EXPORT
11
11
# ifdef AWS_HTTP_EXPORTS
12
12
# define AWS_HTTP_API __declspec(dllexport)
18
18
# endif /* USE_IMPORT_EXPORT */
19
19
20
20
#else
21
- # if (( __GNUC__ >= 4 ) || defined( __clang__ )) && defined(AWS_HTTP_USE_IMPORT_EXPORT ) && defined(AWS_HTTP_EXPORTS )
21
+ # if defined(AWS_HTTP_USE_IMPORT_EXPORT ) && defined(AWS_HTTP_EXPORTS )
22
22
# define AWS_HTTP_API __attribute__((visibility("default")))
23
23
# else
24
24
# define AWS_HTTP_API
25
- # endif /* __GNUC__ >= 4 || defined(__clang__) */
25
+ # endif
26
26
27
- #endif /* defined(USE_WINDOWS_DLL_SEMANTICS ) || defined(WIN32 ) */
27
+ #endif /* defined(AWS_CRT_USE_WINDOWS_DLL_SEMANTICS ) || defined(_WIN32 ) */
28
28
29
29
#endif /* AWS_HTTP_EXPORTS_H */
You can’t perform that action at this time.
0 commit comments