diff options
| author | Rafaël Carré <rafael.carre@gmail.com> | 2010-09-07 14:58:10 +0000 |
|---|---|---|
| committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-09-07 14:58:10 +0000 |
| commit | 5a329ded5c2b6940d6f9fb02ef294185f6a7200c (patch) | |
| tree | 2924318184604856a575a910c044ff8c889a7489 /apps/codecs | |
| parent | 7791843a371257738207a077efc964dbe3388b2b (diff) | |
| download | rockbox-5a329ded5c2b6940d6f9fb02ef294185f6a7200c.zip rockbox-5a329ded5c2b6940d6f9fb02ef294185f6a7200c.tar.gz rockbox-5a329ded5c2b6940d6f9fb02ef294185f6a7200c.tar.bz2 rockbox-5a329ded5c2b6940d6f9fb02ef294185f6a7200c.tar.xz | |
workaround weird gcc behaviour
it might a bug in the 4 years old gcc version, but __ASSEMBLER__ is not
defined when preprocessing .S files with -std=gnu99
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28026 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
| -rw-r--r-- | apps/codecs/demac/libdemac/predictor-cf.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/codecs/demac/libdemac/predictor-cf.S b/apps/codecs/demac/libdemac/predictor-cf.S index c76d7f6..801f601 100644 --- a/apps/codecs/demac/libdemac/predictor-cf.S +++ b/apps/codecs/demac/libdemac/predictor-cf.S @@ -23,6 +23,12 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA */ + +/* workaround gcc 3.4.6 -std=gnu99 */ +#ifndef __ASSEMBLER +#define __ASSEMBLER__ +#endif + #include "demac_config.h" /* NOTE: The following need to be kept in sync with parser.h */ |