Re: [Spice-devel] [PATCHv3 spice-gtk 01/14] compat: add strtok_r fallback

2014-02-20 Thread Christophe Fergeau
On Thu, Feb 20, 2014 at 09:41:32AM -0500, Marc-André Lureau wrote: > > > @@ -14,6 +17,7 @@ > > > License along with this library; if not, see > > > . > > > */ > > > > > > +#include > > > #include "glib-compat.h" > > > > and glib-compat.h needs to go befor

Re: [Spice-devel] [PATCHv3 spice-gtk 01/14] compat: add strtok_r fallback

2014-02-20 Thread Marc-André Lureau
- Original Message - > On Mon, Feb 17, 2014 at 10:35:40PM +0100, Marc-André Lureau wrote: > > diff --git a/gtk/glib-compat.h b/gtk/glib-compat.h > > index c30a735..62580e2 100644 > > --- a/gtk/glib-compat.h > > +++ b/gtk/glib-compat.h > > @@ -1,5 +1,8 @@ > > /* -*- Mode: C; c-basic-offse

Re: [Spice-devel] [PATCHv3 spice-gtk 01/14] compat: add strtok_r fallback

2014-02-20 Thread Christophe Fergeau
On Mon, Feb 17, 2014 at 10:35:40PM +0100, Marc-André Lureau wrote: > diff --git a/gtk/glib-compat.h b/gtk/glib-compat.h > index c30a735..62580e2 100644 > --- a/gtk/glib-compat.h > +++ b/gtk/glib-compat.h > @@ -1,5 +1,8 @@ > /* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */ > /* > +

[Spice-devel] [PATCHv3 spice-gtk 01/14] compat: add strtok_r fallback

2014-02-17 Thread Marc-André Lureau
The following Spice proxy URI parsing code makes use of it, but it is not available on Windows Origin: http://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;a=blob;f=compat/strtok_r.c --- configure.ac | 2 +- gtk/glib-compat.c | 34 ++ gtk/glib-compat.h | 8