src/aubio_priv.h: include ipp headers from here
authorPaul Brossier <piem@piem.org>
Sun, 1 Oct 2017 13:28:17 +0000 (15:28 +0200)
committerPaul Brossier <piem@piem.org>
Sun, 1 Oct 2017 13:28:17 +0000 (15:28 +0200)
src/aubio_priv.h
src/cvec.c
src/fvec.c
src/mathutils.c

index bc0ce9c..86dd0e7 100644 (file)
 #endif /* HAVE_AUBIO_DOUBLE */
 #endif /* HAVE_ATLAS */
 
-#if !defined(HAVE_MEMCPY_HACKS) && !defined(HAVE_ACCELERATE) && !defined(HAVE_ATLAS)
+#if defined HAVE_INTEL_IPP
+#include <ippcore.h>
+#include <ippvm.h>
+#include <ipps.h>
+#endif
+
+#if !defined(HAVE_MEMCPY_HACKS) && !defined(HAVE_ACCELERATE) && !defined(HAVE_ATLAS) && !defined(HAVE_INTEL_IPP)
 #define HAVE_NOOPT 1
 #else
 #undef HAVE_NOOPT
index e8a369a..bde7511 100644 (file)
 #include "aubio_priv.h"
 #include "cvec.h"
 
-#if defined HAVE_INTEL_IPP
-#include <ippcore.h>
-#include <ippvm.h>
-#include <ipps.h>
-#endif
-
 cvec_t * new_cvec(uint_t length) {
   cvec_t * s;
   if ((sint_t)length <= 0) {
index fdb5acb..6161a6a 100644 (file)
 #include "aubio_priv.h"
 #include "fvec.h"
 
-#if defined HAVE_INTEL_IPP
-#include <ippcore.h>
-#include <ippvm.h>
-#include <ipps.h>
-#endif
-
 fvec_t * new_fvec(uint_t length) {
   fvec_t * s;
   if ((sint_t)length <= 0) {
index 5e4244d..ef07d80 100644 (file)
 #include "mathutils.h"
 #include "musicutils.h"
 
-#if defined HAVE_INTEL_IPP
-#include <ippcore.h>
-#include <ippvm.h>
-#include <ipps.h>
-#endif
-
 /** Window types */
 typedef enum
 {