[479/906] gstglshadervariables: strtok_r is not multiplatform

Fix bug #664367
This commit is contained in:
Руслан Ижбулатов 2011-11-21 15:04:16 +01:00 committed by Matthew Waters
parent 2509eab48b
commit e44c1040fe

View file

@ -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; \