diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2015-04-04 11:18:21 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2015-04-04 11:18:21 +0200 |
commit | 7b3f9f74fb9bd764c1382849b9d66eb50ccf4e17 (patch) | |
tree | fbfc14b788b3d0d0635b54a6e295fefb1c4ab830 /src/TaskMan.cc | |
parent | b384e35959a17fc5b85655184534b96add5904b5 (diff) |
Diffstat (limited to 'src/TaskMan.cc')
-rw-r--r-- | src/TaskMan.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/TaskMan.cc b/src/TaskMan.cc index 6192cf0..288c7ff 100644 --- a/src/TaskMan.cc +++ b/src/TaskMan.cc @@ -222,9 +222,7 @@ void Balau::TaskMan::stopMe(int code) { } Balau::TaskMan::TaskMan() { -#ifndef _WIN32 - coro_create(&m_returnContext, 0, 0, 0, 0); -#else +#ifdef _WIN32 m_fiber = ConvertThreadToFiber(NULL); RAssert(m_fiber, "ConvertThreadToFiber returned NULL"); #endif |