diff --git a/legacy/ecore/src/lib/ecore/ecore_main.c b/legacy/ecore/src/lib/ecore/ecore_main.c index 1b33a19ed7..f9d142f19d 100644 --- a/legacy/ecore/src/lib/ecore/ecore_main.c +++ b/legacy/ecore/src/lib/ecore/ecore_main.c @@ -324,9 +324,8 @@ static inline int _ecore_main_fdh_poll_mark_active(void) return ret; } -#endif -#ifdef USE_G_MAIN_LOOP +#elif USE_G_MAIN_LOOP static inline int _ecore_main_fdh_poll_mark_active(void) { @@ -350,6 +349,10 @@ static inline int _ecore_main_fdh_poll_mark_active(void) return ret; } +#endif + +#ifdef USE_G_MAIN_LOOP + /* like we are about to enter main_loop_select in _ecore_main_select */ static gboolean _ecore_main_gsource_prepare(GSource *source, gint *next_time)