13
0

fixes for windows branch build failures under linux. still does not build on linux, now due to taglib changes

This commit is contained in:
Paul Davis 2013-07-31 20:08:43 -04:00
parent 98c6ca5abc
commit bb59def1ca
3 changed files with 3 additions and 7 deletions

View File

@ -16,11 +16,6 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
// 'std::isnan()' is not available in MSVC.
#ifndef COMPILER_MSVC
using std::isnan;
#endif
#include <cmath>
#include <cassert>
#include <utility>
@ -817,7 +812,7 @@ ControlList::modify (iterator iter, double when, double val)
(*iter)->when = when;
(*iter)->value = val;
if (isnan (val)) {
if (::isnan (val)) {
abort ();
}

View File

@ -22,6 +22,7 @@
#include <climits>
#include <cfloat>
#include <cmath>
#include <vector>
#include <glibmm/threads.h>

View File

@ -123,7 +123,7 @@ parse_mthd_header(smf_t *smf)
return (-1);
}
tmp_mthd = (chunk_header_struct*)smf->file_buffer;
tmp_mthd = (struct chunk_header_struct*)smf->file_buffer;
if (!chunk_signature_matches(tmp_mthd, "MThd")) {
g_critical("SMF error: MThd signature not found, is that a MIDI file?");