From e44c1040fe43a3f9080e9e68c71beb4684d7a92a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Mon, 21 Nov 2011 15:04:16 +0100 Subject: [PATCH] [479/906] gstglshadervariables: strtok_r is not multiplatform Fix bug #664367 --- gst-libs/gst/gl/gstglshadervariables.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst-libs/gst/gl/gstglshadervariables.c b/gst-libs/gst/gl/gstglshadervariables.c index ad0644f66a..7a26e55337 100644 --- a/gst-libs/gst/gl/gstglshadervariables.c +++ b/gst-libs/gst/gl/gstglshadervariables.c @@ -20,6 +20,10 @@ #include "gstglshadervariables.h" +#ifdef G_OS_WIN32 +#define strtok_r strtok_s +#endif + #define trimleft(s,chars) while(s[0] && strchr(chars,s[0])) ++s; #define trimright(s,chars) { \ char *end; \