summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2013-03-04 10:03:59 +0900
committerCedric BAIL <cedric.bail@samsung.com>2013-03-04 10:03:59 +0900
commit05f7761d5febd6db4a610c371cb15b0bb9447532 (patch)
treeb15355cb5b2e25e7c9221c5cdd564d663dbbff2e /src/lib/ecore
parentbc1ec328d35b66abee18652a1e83e5e6ec77abbd (diff)
ecore: fix build with setjmp.
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/ecore_coroutine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore/ecore_coroutine.c b/src/lib/ecore/ecore_coroutine.c
index 676141f3ac..5afd20e112 100644
--- a/src/lib/ecore/ecore_coroutine.c
+++ b/src/lib/ecore/ecore_coroutine.c
@@ -117,8 +117,8 @@ _ecore_coroutine_setjmp(Ecore_Coroutine *coro)
117 /* The idea of this trick come from libcoroutine */ 117 /* The idea of this trick come from libcoroutine */
118 /* __jmpbuf[6] == stack pointer */ 118 /* __jmpbuf[6] == stack pointer */
119 /* __jmpbuf[7] == program counter */ 119 /* __jmpbuf[7] == program counter */
120 self->env[0].__jmpbuf[6] = ((uintptr_t)(&coro->stack)); 120 coro->context->env[0].__jmpbuf[6] = ((uintptr_t)(&coro->stack));
121 self->env[0].__jmpbuf[7] = ((uintptr_t)_ecore_coroutine_entry_point); 121 coro->context->env[0].__jmpbuf[7] = ((uintptr_t)_ecore_coroutine_entry_point);
122} 122}
123# endif 123# endif
124#endif 124#endif