From 4fe62ba2966e3d5bc55fa10ec9decfc5d702cce3 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 30 Dec 2013 19:48:19 -0400 Subject: [PATCH 1/1] src/aubio_priv.h: use ifdef for macros that can be undefined --- src/aubio_priv.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/aubio_priv.h b/src/aubio_priv.h index 2fb7792e..197edf1b 100644 --- a/src/aubio_priv.h +++ b/src/aubio_priv.h @@ -33,9 +33,7 @@ * */ -#if 1 //HAVE_CONFIG_H #include "config.h" -#endif #if HAVE_STDLIB_H #include @@ -46,23 +44,23 @@ #endif /* must be included before fftw3.h */ -#if HAVE_COMPLEX_H +#ifdef HAVE_COMPLEX_H #include #endif -#if HAVE_FFTW3 || HAVE_FFTW3F +#if defined(HAVE_FFTW3) || defined(HAVE_FFTW3F) #include #endif -#if HAVE_MATH_H +#ifdef HAVE_MATH_H #include #endif -#if HAVE_STRING_H +#ifdef HAVE_STRING_H #include #endif -#if HAVE_LIMITS_H +#ifdef HAVE_LIMITS_H #include // for CHAR_BIT, in C99 standard #endif -- 2.11.0