mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
[479/906] gstglshadervariables: strtok_r is not multiplatform
Fix bug #664367
This commit is contained in:
parent
2509eab48b
commit
e44c1040fe
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue