mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-22 19:42:40 -05:00
puzzles: refactor and resync with upstream
This brings puzzles up-to-date with upstream revision 2d333750272c3967cfd5cd3677572cddeaad5932, though certain changes made by me, including cursor-only Untangle and some compilation fixes remain. Upstream code has been moved to its separate subdirectory and future syncs can be done by simply copying over the new sources. Change-Id: Ia6506ca5f78c3627165ea6791d38db414ace0804
This commit is contained in:
parent
03dd4b92be
commit
881746789a
329 changed files with 27350 additions and 1043 deletions
|
|
@ -1,5 +1,11 @@
|
|||
#ifndef __RBCOMPAT_H__
|
||||
#define __RBCOMPAT_H__
|
||||
|
||||
#include "plugin.h"
|
||||
#include "rbassert.h"
|
||||
#include "lib/pluginlib_exit.h"
|
||||
|
||||
#include <tlsf.h>
|
||||
|
||||
int sprintf_wrapper(char *str, const char *fmt, ...);
|
||||
char *getenv_wrapper(const char *c);
|
||||
|
|
@ -60,3 +66,9 @@ double acos_wrapper(double x);
|
|||
#define strtoq strtoq_wrapper
|
||||
#define strtouq strtouq_wrapper
|
||||
#define vsprintf vsprintf_wrapper
|
||||
|
||||
#define abs(x) ((x)<0?-(x):(x))
|
||||
|
||||
/* work around compilation error */
|
||||
typedef void FILE;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue