File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
55 * SPDX-License-Identifier: Apache-2.0.
66 */
7- #if defined(USE_WINDOWS_DLL_SEMANTICS ) || defined(WIN32 )
7+ #if defined(AWS_CRT_USE_WINDOWS_DLL_SEMANTICS ) || defined(_WIN32 )
88# ifdef AWS_MQTT_USE_IMPORT_EXPORT
99# ifdef AWS_MQTT_EXPORTS
1010# define AWS_MQTT_API __declspec(dllexport)
1515# define AWS_MQTT_API
1616# endif /* USE_IMPORT_EXPORT */
1717
18- #else /* defined (USE_WINDOWS_DLL_SEMANTICS ) || defined (WIN32 ) */
19- # if (( __GNUC__ >= 4 ) || defined( __clang__ )) && defined(AWS_MQTT_USE_IMPORT_EXPORT ) && defined(AWS_MQTT_EXPORTS )
18+ #else /* defined (AWS_CRT_USE_WINDOWS_DLL_SEMANTICS ) || defined (_WIN32 ) */
19+ # if defined(AWS_MQTT_USE_IMPORT_EXPORT ) && defined(AWS_MQTT_EXPORTS )
2020# define AWS_MQTT_API __attribute__((visibility("default")))
2121# else
2222# define AWS_MQTT_API
23- # endif /* __GNUC__ >= 4 || defined(__clang__) */
23+ # endif
2424
25- #endif /* defined (USE_WINDOWS_DLL_SEMANTICS ) || defined (WIN32 ) */
25+ #endif /* defined (AWS_CRT_USE_WINDOWS_DLL_SEMANTICS ) || defined (_WIN32 ) */
2626
2727#endif /* AWS_MQTT_EXPORTS_H */
You can’t perform that action at this time.
0 commit comments