coroutine: fixes for MSVC

[SVN r84537]
This commit is contained in:
Oliver Kowalke
2013-05-28 18:59:27 +00:00
parent 3406ea2d45
commit e3b7ffd486
2 changed files with 512 additions and 4 deletions

View File

@@ -11,8 +11,9 @@
#include <boost/thread.hpp>
int count = 20;
#if defined(BOOST_USE_SEGMENTED_STACKS)
void access( char *buf) __attribute__ ((noinline));
#endif
void access( char *buf)
{
buf[0] = '\0';