strtok() is recursive by default on win32.

This commit is contained in:
Avuton Olrich 2010-03-21 18:24:24 -07:00
parent e7a515c8b1
commit 4953ea90c2

View File

@ -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;