aboutsummaryrefslogtreecommitdiffstats
path: root/src/crossfade.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/crossfade.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crossfade.c b/src/crossfade.c
index 50a35f690..7989b1dc9 100644
--- a/src/crossfade.c
+++ b/src/crossfade.c
@@ -32,6 +32,10 @@
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "crossfade"
+#ifdef G_OS_WIN32
+ #define strtok_r(s,d,p) strtok(s,d)
+#endif
+
static float mixramp_interpolate(char *ramp_list, float required_db)
{
float db, secs, last_db = nan(""), last_secs = 0;