forked from enlightenment/efl
ecore: remove exit_signal_received conditional from windows build
Summary:
windows does not include ecore_signal.c, so this is not a defined symbol
lib/ecore/.libs/lib_ecore_libecore_la-ecore_anim.o: In function `timer_tick_notify':D:\Documents\MSYS2\home\vtorri\gitroot\efl3\src/lib/ecore/ecore_anim.c:372: undefined reference to `exit_signal_received'lib/ecore/.libs/lib_ecore_libecore_la-ecore_anim.o: In function `ecore_animator_custom_tick':D:\Documents\MSYS2\home\vtorri\gitroot\efl3\src/lib/
ecore/ecore_anim.c:940: undefined reference to `exit_signal_received'
ref 6405a5a68c
Reviewers: vtorri, devilhorns
Reviewed By: vtorri
Subscribers: cedric, #committers
Tags: #efl_build
Differential Revision: https://phab.enlightenment.org/D6648
This commit is contained in:
parent
b4d3c92b6c
commit
44bce025fa
|
@ -110,7 +110,9 @@ static Eina_Spinlock tick_queue_lock;
|
||||||
static int tick_queue_count = 0;
|
static int tick_queue_count = 0;
|
||||||
static Eina_Bool tick_skip = EINA_FALSE;
|
static Eina_Bool tick_skip = EINA_FALSE;
|
||||||
|
|
||||||
|
#ifndef _WIN32
|
||||||
extern volatile int exit_signal_received;
|
extern volatile int exit_signal_received;
|
||||||
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_tick_send(signed char val)
|
_tick_send(signed char val)
|
||||||
|
@ -369,7 +371,10 @@ _timer_tick_notify(void *data EINA_UNUSED, Ecore_Thread *thread EINA_UNUSED, voi
|
||||||
if ((!tick_skip) || (tick_queued == 1))
|
if ((!tick_skip) || (tick_queued == 1))
|
||||||
{
|
{
|
||||||
ecore_loop_time_set(*t);
|
ecore_loop_time_set(*t);
|
||||||
if (!exit_signal_received) _do_tick();
|
#ifndef _WIN32
|
||||||
|
if (!exit_signal_received)
|
||||||
|
#endif
|
||||||
|
_do_tick();
|
||||||
_ecore_animator_flush();
|
_ecore_animator_flush();
|
||||||
}
|
}
|
||||||
pt = *t;
|
pt = *t;
|
||||||
|
@ -937,7 +942,10 @@ ecore_animator_custom_tick(void)
|
||||||
{
|
{
|
||||||
EINA_MAIN_LOOP_CHECK_RETURN;
|
EINA_MAIN_LOOP_CHECK_RETURN;
|
||||||
if (src != ECORE_ANIMATOR_SOURCE_CUSTOM) return;
|
if (src != ECORE_ANIMATOR_SOURCE_CUSTOM) return;
|
||||||
if (!exit_signal_received) _do_tick();
|
#ifndef _WIN32
|
||||||
|
if (!exit_signal_received)
|
||||||
|
#endif
|
||||||
|
_do_tick();
|
||||||
_ecore_animator_flush();
|
_ecore_animator_flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue