1
0
Fork 0
forked from len0rd/rockbox

Move setjmp to lib and add setjmp for sh (imported from newlib) and compile it as separate library.

It's used by both, plugins and codecs, and sh/hwcodec doesn't compile codecs
so it doesn't fit into sources.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27869 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2010-08-24 12:38:42 +00:00
parent 20de4c55a2
commit 46454ac2a8
16 changed files with 1118 additions and 38 deletions

View file

@ -23,11 +23,7 @@
#define __PLUGINLIB_EXIT_H__
#include "config.h"
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
#include "../../codecs/lib/setjmp.h"
#else
#include <setjmp.h>
#endif
#define _PLUGINLIB_EXIT_INIT(atexit) switch(setjmp(__exit_env)) \
{ \