From: Paul Brossier Date: Fri, 25 Sep 2009 02:20:07 +0000 (+0200) Subject: src/types.h: use wscript switch X-Git-Tag: bzr2git~317 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e4284c9f8e5b96ddb7a13477d8156cb928a9ad69;p=aubio.git src/types.h: use wscript switch --- diff --git a/src/types.h b/src/types.h index 4a446df7..9a387617 100644 --- a/src/types.h +++ b/src/types.h @@ -30,7 +30,17 @@ extern "C" { #endif +#include "config.h" + +#ifndef HAVE_AUBIO_DOUBLE +#define HAVE_AUBIO_DOUBLE 0 +#endif + +#if HAVE_AUBIO_DOUBLE +#define AUBIO_SINGLE_PRECISION 0 +#else #define AUBIO_SINGLE_PRECISION 1 +#endif /** short sample format (32 or 64 bits) */ #if AUBIO_SINGLE_PRECISION