[Spice-devel] [usbredir v2 PATCH] support building usbredir for Windows with mingw

Uri Lublin uril at redhat.com
Thu May 24 07:40:25 PDT 2012


Out of v1 patch-set, all patches but one (patch 6) got acked.

This patch-set contains a single patch, which is another solution
for strtok_r missing in mingw. It's a simple implementation of
strtok_r.

Also I added a test program.

Possibly I'm just missing a link-param to make strtok_s work with mingw64.
If anyone knows it, I can try just replacing strtok_r with strtok_s for mingw.

If a separate file/different name for win_strtok_t is preferred, let me know.
If another implementation of strtok_r is preferred, let me know.

Uri Lublin (1):
  usbredirfilter: Win32: implement strtok_r to be used by windows
    (win_strtok_r)

 usbredirparser/usbredirfilter.c |   47 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 47 insertions(+), 0 deletions(-)



More information about the Spice-devel mailing list