aboutsummaryrefslogtreecommitdiff
path: root/src/fft.h
diff options
context:
space:
mode:
authorJamie Bullock <jamie@jamiebullock.com>2014-11-13 15:16:19 +0000
committerJamie Bullock <jamie@jamiebullock.com>2014-11-13 15:16:19 +0000
commit8f3daa3e2f42da8de7279fb875fc4813ae99f82c (patch)
tree5b82ab50f249793eab4e5aa09e62a22596288dfb /src/fft.h
parent6b80c6b556a0e0b2aa3ea4057fe8cdbb06fa76c6 (diff)
downloadLibXtract-8f3daa3e2f42da8de7279fb875fc4813ae99f82c.tar.gz
LibXtract-8f3daa3e2f42da8de7279fb875fc4813ae99f82c.tar.bz2
LibXtract-8f3daa3e2f42da8de7279fb875fc4813ae99f82c.zip
Raise a preprocessor error if neither __APPLE__ nor USE_OOURA is defined
Diffstat (limited to 'src/fft.h')
-rw-r--r--src/fft.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fft.h b/src/fft.h
index 20fedcd..d05cd7e 100644
--- a/src/fft.h
+++ b/src/fft.h
@@ -37,6 +37,9 @@
#ifdef USE_OOURA
#include "ooura/fftsg.h"
#else
+ #ifndef __APPLE__
+ #error "The target platform is not an Apple one and USE_OOURA was not defined"
+ #endif
#include <Accelerate/Accelerate.h>
#endif