From e4284c9f8e5b96ddb7a13477d8156cb928a9ad69 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 25 Sep 2009 04:20:07 +0200 Subject: [PATCH] src/types.h: use wscript switch --- src/types.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.26.2