Browse Source

Fix build for Debian Stable

darkaudacity
Steve Daulton 6 years ago
parent
commit
dad346ec23
  1. 2
      src/Makefile.in
  2. 2
      src/Mix.cpp

2
src/Makefile.in

@ -1101,7 +1101,7 @@ libaudacity_la_SOURCES = \
xml/XMLTagHandler.h \
$(NULL)
audacity_CPPFLAGS = -Wno-deprecated-declarations \
audacity_CPPFLAGS = -std=c++11 -Wno-deprecated-declarations \
-D__STDC_CONSTANT_MACROS -DLIBDIR=\"$(libdir)\" \
$(EXPAT_CFLAGS) $(FILEDIALOG_CFLAGS) $(PORTAUDIO_CFLAGS) \
$(PORTMIXER_CFLAGS) $(SNDFILE_CFLAGS) $(SOXR_CFLAGS) \

2
src/Mix.cpp

@ -763,7 +763,7 @@ void Mixer::Reposition(double t)
void Mixer::SetTimesAndSpeed(double t0, double t1, double speed)
{
wxASSERT(isfinite(speed));
wxASSERT(std::isfinite(speed));
mT0 = t0;
mT1 = t1;
mSpeed = fabs(speed);

Loading…
Cancel
Save