On Sun, 19 Sep 2010 07:49:15 +0200 (CEST) Vincent Torri <vto...@univ-evry.fr> said:
> > > On Sat, 18 Sep 2010, Enlightenment SVN wrote: > > > Log: > > warning-- > > > > > > Author: raster > > Date: 2010-09-18 20:09:09 -0700 (Sat, 18 Sep 2010) > > New Revision: 52453 > > > > Modified: > > trunk/ecore/src/lib/ecore/ecore_main.c > > trunk/ecore/src/lib/ecore/ecore_thread.c > > > > Modified: trunk/ecore/src/lib/ecore/ecore_main.c > > =================================================================== > > --- trunk/ecore/src/lib/ecore/ecore_main.c 2010-09-19 03:04:17 UTC > > (rev 52452) +++ trunk/ecore/src/lib/ecore/ecore_main.c 2010-09-19 > > 03:09:09 UTC (rev 52453) @@ -141,21 +141,26 @@ > > static gboolean ecore_fds_ready; > > #endif > > > > +#ifdef HAVE_EPOLL > > static inline int _ecore_poll_events_from_fdh(Ecore_Fd_Handler *fdh) > > { > > int events = 0; > > -#ifdef HAVE_EPOLL > > if (fdh->flags & ECORE_FD_READ) events |= EPOLLIN; > > if (fdh->flags & ECORE_FD_WRITE) events |= EPOLLOUT; > > if (fdh->flags & ECORE_FD_ERROR) events |= EPOLLERR; > > -#endif > > return events; > > } > > +#else > > +static inline int _ecore_poll_events_from_fdh(Ecore_Fd_Handler *fdh > > __UNUSED__) +{ > > + return 0; > > +} > > +#endif > > why didn't you do that in your commit of embryo_amx.c ? it's cleaner than > having __UNUSED__ in #ifdef/#endif i was in a different mood at the time :) -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel