From 4953ea90c2d631b8d6ebd449e819cece62134fa7 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Sun, 21 Mar 2010 18:24:24 -0700 Subject: strtok() is recursive by default on win32. --- src/crossfade.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/crossfade.c') 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; -- cgit v1.2.3