Skip to content

Commit 444c6e8

Browse files
authored
Merge pull request #36 from vinniefalco/develop
Fix Windows dll-interface compilation warnings:
2 parents f226f9b + 6c37e98 commit 444c6e8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/boost/coroutine/detail/preallocated.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace boost {
2222
namespace coroutines {
2323
namespace detail {
2424

25-
struct preallocated {
25+
struct BOOST_COROUTINES_DECL preallocated {
2626
void * sp;
2727
std::size_t size;
2828
stack_context sctx;

include/boost/coroutine/stack_context.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace boost {
2121
namespace coroutines {
2222

2323
#if defined(BOOST_USE_SEGMENTED_STACKS)
24-
struct stack_context
24+
struct BOOST_COROUTINES_DECL stack_context
2525
{
2626
typedef void * segments_context[BOOST_CONTEXT_SEGMENTS];
2727

@@ -40,7 +40,7 @@ struct stack_context
4040
{}
4141
};
4242
#else
43-
struct stack_context
43+
struct BOOST_COROUTINES_DECL stack_context
4444
{
4545
std::size_t size;
4646
void * sp;

0 commit comments

Comments
 (0)