* ecore: fix build without thread.
NOTE: if you build ecore without pthread support, you really should know that it is a bad idea. Only people without pthread support on their device/C library should disable it. SVN revision: 50200
This commit is contained in:
parent
e80f08b4b4
commit
3015da94da
|
@ -594,6 +594,8 @@ ecore_long_run(void (*func_heavy)(Ecore_Thread *thread, void *data),
|
|||
#else
|
||||
Ecore_Pthread_Worker worker;
|
||||
|
||||
(void) try_no_queue;
|
||||
|
||||
/*
|
||||
If no thread and as we don't want to break app that rely on this
|
||||
facility, we will lock the interface until we are done.
|
||||
|
@ -643,7 +645,7 @@ ecore_thread_notify(Ecore_Thread *thread, const void *data)
|
|||
|
||||
return EINA_TRUE;
|
||||
#else
|
||||
worker->u.long_run.func_notify(thread, data);
|
||||
worker->u.long_run.func_notify(thread, (void*) data, (void*) worker->data);
|
||||
|
||||
return EINA_TRUE;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue