summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-07-20 15:21:28 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-07-20 15:21:28 -0400
commit44bce025fa478cc52bc23b8f3fed799f8e1b8806 (patch)
treec8ad71c5e9d25937549c601934ef5dc07009fd2d /src/lib/ecore
parentb4d3c92b6c8120eb389e10b49269c656448da1b5 (diff)
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
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/ecore_anim.c12
1 files 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;
110static int tick_queue_count = 0; 110static int tick_queue_count = 0;
111static Eina_Bool tick_skip = EINA_FALSE; 111static Eina_Bool tick_skip = EINA_FALSE;
112 112
113#ifndef _WIN32
113extern volatile int exit_signal_received; 114extern volatile int exit_signal_received;
115#endif
114 116
115static void 117static void
116_tick_send(signed char val) 118_tick_send(signed char val)
@@ -369,7 +371,10 @@ _timer_tick_notify(void *data EINA_UNUSED, Ecore_Thread *thread EINA_UNUSED, voi
369 if ((!tick_skip) || (tick_queued == 1)) 371 if ((!tick_skip) || (tick_queued == 1))
370 { 372 {
371 ecore_loop_time_set(*t); 373 ecore_loop_time_set(*t);
372 if (!exit_signal_received) _do_tick(); 374#ifndef _WIN32
375 if (!exit_signal_received)
376#endif
377 _do_tick();
373 _ecore_animator_flush(); 378 _ecore_animator_flush();
374 } 379 }
375 pt = *t; 380 pt = *t;
@@ -937,7 +942,10 @@ ecore_animator_custom_tick(void)
937{ 942{
938 EINA_MAIN_LOOP_CHECK_RETURN; 943 EINA_MAIN_LOOP_CHECK_RETURN;
939 if (src != ECORE_ANIMATOR_SOURCE_CUSTOM) return; 944 if (src != ECORE_ANIMATOR_SOURCE_CUSTOM) return;
940 if (!exit_signal_received) _do_tick(); 945#ifndef _WIN32
946 if (!exit_signal_received)
947#endif
948 _do_tick();
941 _ecore_animator_flush(); 949 _ecore_animator_flush();
942} 950}
943 951