From 20a5926d2e0fe2cf7c5508f490ae04d61bfd07a4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 17 Feb 2007 21:54:17 +0000 Subject: build with -Wundef to make sure we have spelled the defines right in #if lines and have the proper includes included etc git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12360 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libfaad/common.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'apps/codecs/libfaad') diff --git a/apps/codecs/libfaad/common.h b/apps/codecs/libfaad/common.h index 65d27338ae..59d96252e5 100644 --- a/apps/codecs/libfaad/common.h +++ b/apps/codecs/libfaad/common.h @@ -181,33 +181,33 @@ typedef float float32_t; #else #include -#if HAVE_SYS_TYPES_H +#ifdef HAVE_SYS_TYPES_H # include #endif -#if HAVE_SYS_STAT_H +#ifdef HAVE_SYS_STAT_H # include #endif -#if STDC_HEADERS +#ifdef STDC_HEADERS # include # include #else -# if HAVE_STDLIB_H +# ifdef HAVE_STDLIB_H # include # endif #endif -#if HAVE_STRING_H -# if !STDC_HEADERS && HAVE_MEMORY_H +#ifdef HAVE_STRING_H +# if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H) # include # endif //# include #endif -#if HAVE_STRINGS_H +#ifdef HAVE_STRINGS_H //# include #endif -#if HAVE_INTTYPES_H +#ifdef HAVE_INTTYPES_H # include #else -# if HAVE_STDINT_H +# ifdef HAVE_STDINT_H # include # else /* we need these... */ @@ -221,7 +221,7 @@ typedef short int16_t; typedef char int8_t; # endif #endif -#if HAVE_UNISTD_H +#ifdef HAVE_UNISTD_H # include #endif -- cgit v1.2.3