make the gcc work-around somewhat more inclusive for gcc 4.2.X where X is 1

or bigger


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16238 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2008-02-07 00:02:41 +00:00
parent 5c0cf6ef2c
commit 1456415cab

View file

@ -847,9 +847,10 @@ static INLINE void cfftf1neg(uint16_t n, complex_t *c, complex_t *ch,
} }
} }
#if (__GNUC__ == 4) && (__GNUC_MINOR__ == 2) && (__GNUC_PATCHLEVEL__ == 3) #if (__GNUC__ == 4) && (__GNUC_MINOR__ == 2) && (__GNUC_PATCHLEVEL__ >= 1)
/* To me (Daniel S) this looks like a compiler error/problem so we only /* To me (Daniel S) this looks like a compiler error/problem so we only
silence it this way on this specific compiler version we know causes this */ silence it this way on this specific compiler version we know causes this
Known to happen for 4.2.1 until 4.2.3 */
#define COMPLEXPTR *(const complex_t **) #define COMPLEXPTR *(const complex_t **)
#else #else
#define COMPLEXPTR (const complex_t *) #define COMPLEXPTR (const complex_t *)