win: Fix build under MinGW

This commit is contained in:
Alexander Kojevnikov committed 2013-02-23 19:00:58 -08:00
1 parent 071b4f3e50
commit 85d0946f3a
3 files changed
+3 -4

No files matched your search

+1 -1
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
+1 -1
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 && \
+1 -2
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"