projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a341685
)
src/aubio_priv.h: use ifdef for macros that can be undefined
author
Paul Brossier
<piem@piem.org>
Mon, 30 Dec 2013 23:48:19 +0000
(19:48 -0400)
committer
Paul Brossier
<piem@piem.org>
Mon, 30 Dec 2013 23:48:19 +0000
(19:48 -0400)
src/aubio_priv.h
patch
|
blob
|
history
diff --git
a/src/aubio_priv.h
b/src/aubio_priv.h
index
2fb7792
..
197edf1
100644
(file)
--- a/
src/aubio_priv.h
+++ b/
src/aubio_priv.h
@@
-33,9
+33,7
@@
*
*/
*
*/
-#if 1 //HAVE_CONFIG_H
#include "config.h"
#include "config.h"
-#endif
#if HAVE_STDLIB_H
#include <stdlib.h>
#if HAVE_STDLIB_H
#include <stdlib.h>
@@
-46,23
+44,23
@@
#endif
/* must be included before fftw3.h */
#endif
/* must be included before fftw3.h */
-#if HAVE_COMPLEX_H
+#if
def
HAVE_COMPLEX_H
#include <complex.h>
#endif
#include <complex.h>
#endif
-#if
HAVE_FFTW3 || HAVE_FFTW3F
+#if
defined(HAVE_FFTW3) || defined(HAVE_FFTW3F)
#include <fftw3.h>
#endif
#include <fftw3.h>
#endif
-#if HAVE_MATH_H
+#if
def
HAVE_MATH_H
#include <math.h>
#endif
#include <math.h>
#endif
-#if HAVE_STRING_H
+#if
def
HAVE_STRING_H
#include <string.h>
#endif
#include <string.h>
#endif
-#if HAVE_LIMITS_H
+#if
def
HAVE_LIMITS_H
#include <limits.h> // for CHAR_BIT, in C99 standard
#endif
#include <limits.h> // for CHAR_BIT, in C99 standard
#endif