Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/vsg/core/Exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace vsg

/// Exception object that can be thrown from VSG code, such as failed Vulkan calls where the result value will be the VkResult value
/// returned from failed Vulkan call.
struct VSG_DECLSPEC Exception : public std::exception
struct VSG_EXCEPTION_DECLSPEC Exception : public std::exception
{
Exception() = default;
Exception(const Exception&) = default;
Expand Down
3 changes: 3 additions & 0 deletions include/vsg/core/Export.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,15 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
# define VSG_DECLSPEC
# endif
# define VSG_TEMPLATE_DECLSPEC
# define VSG_EXCEPTION_DECLSPEC
#else
# if defined(VSG_SHARED_LIBRARY) || defined(VSG_EXPORTS)
# define VSG_DECLSPEC __attribute__((visibility("default")))
# define VSG_TEMPLATE_DECLSPEC __attribute__((visibility("default")))
# define VSG_EXCEPTION_DECLSPEC __attribute__((visibility("default")))
# else
# define VSG_DECLSPEC
# define VSG_TEMPLATE_DECLSPEC
# define VSG_EXCEPTION_DECLSPEC
# endif
#endif
Loading