diff options
Diffstat (limited to '')
-rw-r--r-- | src/crossfade.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/crossfade.c b/src/crossfade.c index fff179386..cdfd82879 100644 --- a/src/crossfade.c +++ b/src/crossfade.c @@ -33,7 +33,11 @@ #define G_LOG_DOMAIN "crossfade" #ifdef G_OS_WIN32 - #define strtok_r(s,d,p) strtok(s,d) +static char * +strtok_r(char *str, const char *delim, G_GNUC_UNUSED char **saveptr) +{ + return strtok(str, delim); +} #endif static float mixramp_interpolate(char *ramp_list, float required_db) |