commit | b4dd4eb7809f5635bcd432beb2f58d18757db3df | [log] [tgz] |
---|---|---|
author | Ralph Giles <giles@thaumas.net> | Fri Oct 28 10:51:17 2011 -0700 |
committer | Ralph Giles <giles@thaumas.net> | Fri Oct 28 10:51:17 2011 -0700 |
tree | e01227b4e1ef32e897dbdb408e46b9950fab4a80 | |
parent | 732ac84452097cf8b0c5749c62229b17ec332aa6 [diff] |
Fix the test for gcc version >= 4.6 to work for gcc 5 and up. We use the __GNUC_PREREQ macro from celt/arch.h to check the required minimum gcc version. The previous check would have failed for gcc 5.n with n from 0 to 5. Thanks to pcgod for pointing out the problem and derf for pointing out we had a macro for this.