diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-02-07 00:02:41 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-02-07 00:02:41 +0000 |
commit | 1456415cabcdfcaadd314dfc4e1330c4826030ac (patch) | |
tree | ecb8f3c86cf1fa0dbd0627904df4749af8ecfe7a /apps | |
parent | 5c0cf6ef2c4d7bd684978212624309322d2f7d2a (diff) |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/codecs/libfaad/cfft.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/codecs/libfaad/cfft.c b/apps/codecs/libfaad/cfft.c index 0391b1c0ff..07859756e0 100644 --- a/apps/codecs/libfaad/cfft.c +++ b/apps/codecs/libfaad/cfft.c @@ -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 - 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 **) #else #define COMPLEXPTR (const complex_t *) |