projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc1ec32
)
ecore: fix build with setjmp.
author
Cedric BAIL
<cedric.bail@samsung.com>
Mon, 4 Mar 2013 01:03:59 +0000
(10:03 +0900)
committer
Cedric BAIL
<cedric.bail@samsung.com>
Mon, 4 Mar 2013 01:03:59 +0000
(10:03 +0900)
src/lib/ecore/ecore_coroutine.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore/ecore_coroutine.c
b/src/lib/ecore/ecore_coroutine.c
index 676141f3aca6001f3977b35efcd8d2105257b5cf..5afd20e11265d4615c11495513ad266d2d3bcbfc 100644
(file)
--- a/
src/lib/ecore/ecore_coroutine.c
+++ b/
src/lib/ecore/ecore_coroutine.c
@@
-117,8
+117,8
@@
_ecore_coroutine_setjmp(Ecore_Coroutine *coro)
/* The idea of this trick come from libcoroutine */
/* __jmpbuf[6] == stack pointer */
/* __jmpbuf[7] == program counter */
-
self
->env[0].__jmpbuf[6] = ((uintptr_t)(&coro->stack));
-
self
->env[0].__jmpbuf[7] = ((uintptr_t)_ecore_coroutine_entry_point);
+
coro->context
->env[0].__jmpbuf[6] = ((uintptr_t)(&coro->stack));
+
coro->context
->env[0].__jmpbuf[7] = ((uintptr_t)_ecore_coroutine_entry_point);
}
# endif
#endif