From 8f3daa3e2f42da8de7279fb875fc4813ae99f82c Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Thu, 13 Nov 2014 15:16:19 +0000 Subject: Raise a preprocessor error if neither __APPLE__ nor USE_OOURA is defined --- src/fft.h | 3 +++ 1 file changed, 3 insertions(+) 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 #endif -- cgit v1.2.3