summaryrefslogtreecommitdiff
path: root/src
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
parentb4d3c92b6c8120eb389e10b49269c656448da1b5 (diff)
downloadefl-44bce025fa478cc52bc23b8f3fed799f8e1b8806.tar.gz
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')
-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;
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();
}