spek

Acoustic spectrum analyser
git clone http://git.hanabi.in/repos/spek.git
Log | Files | Refs | README

commit 85d0946f3aa3121cfc858e88fd42f3605d9acf71
parent 071b4f3e5005052709126ee9dbe8f751f9370859
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date:   Sat, 23 Feb 2013 19:00:58 -0800

win: Fix build under MinGW

Diffstat:
Mconfigure.ac | 2+-
Mdist/win/bundle.sh | 2+-
Msrc/spek-pipeline.cc | 3+--
3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac @@ -6,7 +6,7 @@ AM_SILENT_RULES([yes]) AC_LANG([C++]) AC_PROG_CXX -CXXFLAGS="$CXXFLAGS -std=c++11 -Wall -Wextra" +CXXFLAGS="$CXXFLAGS -std=gnu++11 -Wall -Wextra" AC_PROG_CXXCPP AC_PROG_RANLIB AC_PROG_INSTALL diff --git a/dist/win/bundle.sh b/dist/win/bundle.sh @@ -24,7 +24,7 @@ rm -f dist/win/spek.res mkdir -p src/dist/win && cp dist/win/spek.res src/dist/win/ # Compile and strip spek.exe -LDFLAGS="dist/win/spek.res" ./configure \ +LDFLAGS="dist/win/spek.res" ./autogen.sh \ --host="$HOST" \ --with-wx-config="$WX_CONFIG" \ --prefix=${PWD}/dist/win/build && \ diff --git a/src/spek-pipeline.cc b/src/spek-pipeline.cc @@ -24,6 +24,7 @@ */ #define __STDC_LIMIT_MACROS +#include <wx/intl.h> #include <assert.h> #include <math.h> @@ -34,8 +35,6 @@ #include <vector> -#include <wx/intl.h> - #include "spek-audio.h" #include "spek-fft.h"