From 44bce025fa478cc52bc23b8f3fed799f8e1b8806 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 20 Jul 2018 15:21:28 -0400 Subject: [PATCH] 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 6405a5a68c0ad618e8b8ab169a0ac85bf43c65c1 Reviewers: vtorri, devilhorns Reviewed By: vtorri Subscribers: cedric, #committers Tags: #efl_build Differential Revision: https://phab.enlightenment.org/D6648 --- src/lib/ecore/ecore_anim.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/lib/ecore/ecore_anim.c b/src/lib/ecore/ecore_anim.c index fb6501c308..4c614c427d 100644 --- a/src/lib/ecore/ecore_anim.c +++ b/src/lib/ecore/ecore_anim.c @@ -110,7 +110,9 @@ static Eina_Spinlock tick_queue_lock; static int tick_queue_count = 0; static Eina_Bool tick_skip = EINA_FALSE; +#ifndef _WIN32 extern volatile int exit_signal_received; +#endif static void _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)) { ecore_loop_time_set(*t); - if (!exit_signal_received) _do_tick(); +#ifndef _WIN32 + if (!exit_signal_received) +#endif + _do_tick(); _ecore_animator_flush(); } pt = *t; @@ -937,7 +942,10 @@ ecore_animator_custom_tick(void) { EINA_MAIN_LOOP_CHECK_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(); }