from mike:

Fix a build issue with both epoll and g_main_loop()



SVN revision: 53671
This commit is contained in:
Carsten Haitzler 2010-10-20 14:18:23 +00:00
parent 31458bd882
commit 0bad021252
1 changed files with 5 additions and 2 deletions

View File

@ -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)