[vlc-devel] [PATCH 4/5] vlccore: implement timeout-free poll()

Rémi Denis-Courmont remi at remlab.net
Sat Mar 2 18:45:32 CET 2013


Le samedi 2 mars 2013 19:33:27, KO Myung-Hun a écrit :
> Rémi Denis-Courmont wrote:
> > Le samedi 2 mars 2013 17:11:09, KO Myung-Hun a écrit :
> >> ---
> >> 
> >>  include/vlc_threads.h |  112
> >> 
> >> +++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 103
> >> insertions(+), 9 deletions(-)
> >> 
> >> diff --git a/include/vlc_threads.h b/include/vlc_threads.h
> >> index 12b56fd..475eaec 100644
> >> --- a/include/vlc_threads.h
> >> +++ b/include/vlc_threads.h
> >> @@ -385,23 +385,117 @@ struct vlc_cleanup_t
> >> 
> >>  #endif /* !LIBVLC_USE_PTHREAD_CLEANUO */
> >>  
> >>  #ifndef LIBVLC_USE_PTHREAD_CANCEL
> >> 
> >> +# include <unistd.h>
> >> +# include <sys/socket.h>
> > 
> > Not that I care personally, but does this not break Windows?
> 
> I'm not sure.
> 
> >> +
> >> +# ifndef INT64_C
> >> +#  define INT64_C(c) (c ## LL)
> >> +# endif
> > 
> > int64_t is not necessarily long long.
> 
> Otherwise, what it can be ?

It can be long too.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list