Skip to content

Commit

Permalink
declspec change
Browse files Browse the repository at this point in the history
  • Loading branch information
sbSteveK committed Aug 23, 2023
1 parent a6eb205 commit 70578b0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
22 changes: 11 additions & 11 deletions greengrass_ipc/include/aws/greengrass/Exports.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
* SPDX-License-Identifier: Apache-2.0.
*/

#if defined(AWS_GREENGRASS_USE_WINDOWS_DLL_SEMANTICS) || defined(WIN32)
# ifdef AWS_GREENGRASS_USE_IMPORT_EXPORT
# ifdef AWS_GREENGRASS_EXPORTS
# define AWS_GREENGRASS_API __declspec(dllexport)
#if defined(AWS_GREENGRASSIPC_USE_WINDOWS_DLL_SEMANTICS) || defined(WIN32)
# ifdef AWS_GREENGRASSIPC_USE_IMPORT_EXPORT
# ifdef AWS_GREENGRASSIPC_EXPORTS
# define AWS_GREENGRASSIPC_API __declspec(dllexport)
# else
# define AWS_GREENGRASS_API __declspec(dllimport)
# endif /* AWS_GREENGRASS_EXPORTS */
# define AWS_GREENGRASSIPC_API __declspec(dllimport)
# endif /* AWS_GREENGRASSIPC_EXPORTS */
# else
# define AWS_GREENGRASS_API
# endif /* AWS_GREENGRASS_USE_IMPORT_EXPORT */
# define AWS_GREENGRASSIPC_API
# endif /* AWS_GREENGRASSIPC_USE_IMPORT_EXPORT */

#else /* defined (AWS_GREENGRASS_USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) */
# define AWS_GREENGRASS_API
#endif /* defined (AWS_GREENGRASS__USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) */
#else /* defined (AWS_GREENGRASSIPC_USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) */
# define AWS_GREENGRASSIPC_API
#endif /* defined (AWS_GREENGRASSIPC__USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) */
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ namespace Aws
{
namespace Greengrass
{
class AWS_GREENGRASS_API DefaultConnectionConfig : public ConnectionConfig
class AWS_GREENGRASSIPC_API DefaultConnectionConfig : public ConnectionConfig
{
public:
DefaultConnectionConfig() noexcept;
};

class AWS_GREENGRASS_API GreengrassCoreIpcClient
class AWS_GREENGRASSIPC_API GreengrassCoreIpcClient
{
public:
GreengrassCoreIpcClient(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ namespace Aws
{
namespace Greengrass
{
class AWS_GREENGRASS_API GreengrassCoreIpcClient;
class AWS_GREENGRASS_API GreengrassCoreIpcServiceModel;
class AWS_GREENGRASSIPC_API GreengrassCoreIpcClient;
class AWS_GREENGRASSIPC_API GreengrassCoreIpcServiceModel;
class UserProperty : public AbstractShapeBase
{
public:
Expand Down Expand Up @@ -5910,7 +5910,7 @@ namespace Aws
Aws::Crt::String GetModelName() const noexcept override;
};

class AWS_GREENGRASS_API GreengrassCoreIpcServiceModel : public ServiceModel
class AWS_GREENGRASSIPC_API GreengrassCoreIpcServiceModel : public ServiceModel
{
public:
GreengrassCoreIpcServiceModel() noexcept;
Expand Down

0 comments on commit 70578b0

Please sign in to comment.