Core: Fix Windows build
Vicki Pfau vi@endrift.com
Sun, 09 Apr 2017 19:18:29 -0700
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/core/thread.c
→
src/core/thread.c
@@ -120,7 +120,7 @@ }
_changeState(thread, THREAD_CRASHED, true); } -void _sleep(void* context) { +void _coreSleep(void* context) { struct mCoreThread* thread = context; if (!thread) { return;@@ -153,7 +153,7 @@ struct mCoreCallbacks callbacks = {
.videoFrameStarted = _frameStarted, .videoFrameEnded = _frameEnded, .coreCrashed = _crashed, - .sleep = _sleep, + .sleep = _coreSleep, .context = threadContext }; core->addCoreCallbacks(core, &callbacks);