diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2009-01-24 03:47:09 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2009-01-24 03:47:09 +0000 |
commit | b0befadad1d9ec691ba647b948422e66a43f3674 (patch) | |
tree | 92f5fe47e0826daab66d2e321c96412841392058 /apps/codecs.h | |
parent | ef8413eb4fd7fead45d33b3ecae003210978b85d (diff) | |
download | rockbox-b0befadad1d9ec691ba647b948422e66a43f3674.tar.gz rockbox-b0befadad1d9ec691ba647b948422e66a43f3674.zip |
Include divide-by-zero handling within plugins and codecs for ARM processors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19834 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs.h')
-rw-r--r-- | apps/codecs.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/codecs.h b/apps/codecs.h index e603c8b35b..3eab1d35c2 100644 --- a/apps/codecs.h +++ b/apps/codecs.h | |||
@@ -75,7 +75,7 @@ | |||
75 | #define CODEC_ENC_MAGIC 0x52454E43 /* RENC */ | 75 | #define CODEC_ENC_MAGIC 0x52454E43 /* RENC */ |
76 | 76 | ||
77 | /* increase this every time the api struct changes */ | 77 | /* increase this every time the api struct changes */ |
78 | #define CODEC_API_VERSION 30 | 78 | #define CODEC_API_VERSION 31 |
79 | 79 | ||
80 | /* update this to latest version if a change to the api struct breaks | 80 | /* update this to latest version if a change to the api struct breaks |
81 | backwards compatibility (and please take the opportunity to sort in any | 81 | backwards compatibility (and please take the opportunity to sort in any |
@@ -232,8 +232,10 @@ struct codec_api { | |||
232 | #endif | 232 | #endif |
233 | 233 | ||
234 | /* new stuff at the end, sort into place next time | 234 | /* new stuff at the end, sort into place next time |
235 | the API gets incompatible */ | 235 | the API gets incompatible */ |
236 | 236 | #ifdef CPU_ARM | |
237 | void (*__div0)(void); | ||
238 | #endif | ||
237 | }; | 239 | }; |
238 | 240 | ||
239 | /* codec header */ | 241 | /* codec header */ |