fixes for windows branch build failures under linux. still does not build on linux, now due to taglib changes
This commit is contained in:
parent
98c6ca5abc
commit
bb59def1ca
|
@ -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 ();
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include <climits>
|
||||
#include <cfloat>
|
||||
#include <cmath>
|
||||
#include <vector>
|
||||
|
||||
#include <glibmm/threads.h>
|
||||
|
||||
|
|
|
@ -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?");
|
||||
|
|
Loading…
Reference in New Issue
Block a user