From b0befadad1d9ec691ba647b948422e66a43f3674 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 24 Jan 2009 03:47:09 +0000 Subject: 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 --- apps/codecs.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'apps/codecs.h') 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 @@ #define CODEC_ENC_MAGIC 0x52454E43 /* RENC */ /* increase this every time the api struct changes */ -#define CODEC_API_VERSION 30 +#define CODEC_API_VERSION 31 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -232,8 +232,10 @@ struct codec_api { #endif /* new stuff at the end, sort into place next time - the API gets incompatible */ - + the API gets incompatible */ +#ifdef CPU_ARM + void (*__div0)(void); +#endif }; /* codec header */ -- cgit v1.2.3