ref: f4c6edf2923b3098e80123ae2262d01bf6fa89f6
parent: 5c9c4359042555c182a4bd52ef212a162e5bbd76
author: Chris Moeller <kode54@gmail.com>
date: Sat Dec 22 11:49:34 EST 2012
Only provide our own log2 for MSVC, since other platforms should already provide it
--- a/dumb/src/it/itrender.c
+++ b/dumb/src/it/itrender.c
@@ -3886,7 +3886,9 @@
playing->sample_vibrato_time += playing->sample->vibrato_speed;
}
+#ifdef _MSC_VER
static float log2(float x) {return (float)log(x)/(float)log(2.0f);}
+#endif
static int delta_to_note(float delta, int base)
{