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

Hans de Goede hdegoede at redhat.com
Thu May 24 07:59:24 PDT 2012


Hi,

On 05/24/2012 04:40 PM, Uri Lublin wrote:
> 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.

I thought that the mingw in Fedora-17 does have a strtok_s, if that is correct
I would prefer to just use that.

Any specific reason why you're rolling your own?

Regards,

Hans


More information about the Spice-devel mailing list