# HG changeset patch # User Jamie Bullock # Date 1415727915 0 # Node ID 2d749a837036c31c7aabda5ddd74d78854d99e01 # Parent 3d0fa7347500d5e4bfad2eb2b5d675cf2e7e2a73 Define USE_OOURA if not on "Darwin" - Should fix build issue on Linux diff -r 3d0fa7347500 -r 2d749a837036 src/Make.config --- a/src/Make.config Tue Nov 11 17:30:31 2014 +0000 +++ b/src/Make.config Tue Nov 11 17:45:15 2014 +0000 @@ -4,4 +4,6 @@ ifeq ($(PLATFORM), Darwin) LDFLAGS = -framework Accelerate +else + FLAGS += -DUSE_OOURA endif diff -r 3d0fa7347500 -r 2d749a837036 src/fft.h --- a/src/fft.h Tue Nov 11 17:30:31 2014 +0000 +++ b/src/fft.h Tue Nov 11 17:45:15 2014 +0000 @@ -24,12 +24,7 @@ #ifndef FFT_H #define FFT_H -#ifdef HAVE_CONFIG_H -#include -#endif - #ifdef _MSC_VER - #define USE_OOURA #ifndef __cplusplus typedef int bool; #define false 0 diff -r 3d0fa7347500 -r 2d749a837036 src/init.c --- a/src/init.c Tue Nov 11 17:30:31 2014 +0000 +++ b/src/init.c Tue Nov 11 17:45:15 2014 +0000 @@ -23,10 +23,6 @@ /* init.c: defines initialisation and free functions. Also contains library constructor routine. */ -#ifdef HAVE_CONFIG_H -#include -#endif - #include #include #include @@ -38,8 +34,6 @@ #define DEFINE_GLOBALS #include "xtract_globals_private.h" - - #ifdef USE_OOURA void xtract_init_ooura_data(xtract_ooura_data *ooura_data, unsigned int N) {