[479/906] gstglshadervariables: strtok_r is not multiplatform
Fix bug #664367
This commit is contained in:
parent
2509eab48b
commit
e44c1040fe
@ -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; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user