Mercurial > hg > libxtract
changeset 276:c5e3855caaa9
Raise a preprocessor error if neither __APPLE__ nor USE_OOURA is defined
author | Jamie Bullock <jamie@jamiebullock.com> |
---|---|
date | Thu, 13 Nov 2014 15:16:19 +0000 |
parents | 1458e8fc09b8 |
children | f87c7a8c043f |
files | src/fft.h |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fft.h Wed Nov 12 12:05:37 2014 +0000 +++ b/src/fft.h Thu Nov 13 15:16:19 2014 +0000 @@ -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