win: Fix build under MinGW

This commit is contained in:
Alexander Kojevnikov 2013-02-23 19:00:58 -08:00
parent 071b4f3e50
commit 85d0946f3a
3 changed files with 3 additions and 4 deletions

View File

@ -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

2
dist/win/bundle.sh vendored
View File

@ -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 && \

View File

@ -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"