Changeset 4fe62ba


Ignore:
Timestamp:
Dec 31, 2013, 12:48:19 AM (11 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
d4791e5
Parents:
a341685
Message:

src/aubio_priv.h: use ifdef for macros that can be undefined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/aubio_priv.h

    ra341685 r4fe62ba  
    3434 */
    3535
    36 #if 1 //HAVE_CONFIG_H
    3736#include "config.h"
    38 #endif
    3937
    4038#if HAVE_STDLIB_H
     
    4745
    4846/* must be included before fftw3.h */
    49 #if HAVE_COMPLEX_H
     47#ifdef HAVE_COMPLEX_H
    5048#include <complex.h>
    5149#endif
    5250
    53 #if HAVE_FFTW3 || HAVE_FFTW3F
     51#if defined(HAVE_FFTW3) || defined(HAVE_FFTW3F)
    5452#include <fftw3.h>
    5553#endif
    5654
    57 #if HAVE_MATH_H
     55#ifdef HAVE_MATH_H
    5856#include <math.h>
    5957#endif
    6058
    61 #if HAVE_STRING_H
     59#ifdef HAVE_STRING_H
    6260#include <string.h>
    6361#endif
    6462
    65 #if HAVE_LIMITS_H
     63#ifdef HAVE_LIMITS_H
    6664#include <limits.h> // for CHAR_BIT, in C99 standard
    6765#endif
Note: See TracChangeset for help on using the changeset viewer.