summaryrefslogtreecommitdiff
path: root/src/TaskMan.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/TaskMan.cc')
-rw-r--r--src/TaskMan.cc4
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