From: Paul Brossier Date: Mon, 30 Dec 2013 23:48:19 +0000 (-0400) Subject: src/aubio_priv.h: use ifdef for macros that can be undefined X-Git-Tag: 0.4.1~102^2 X-Git-Url: https://git.aubio.org/?p=aubio.git;a=commitdiff_plain;h=4fe62ba2966e3d5bc55fa10ec9decfc5d702cce3;hp=a34168558b7c280ce10c1cfe7c28c09227dc8ca3 src/aubio_priv.h: use ifdef for macros that can be undefined --- 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