forked from len0rd/rockbox
Support building tagcache db natively on PC using the core of the
Rockbox tagcache database engine. Only host endian support at the moment and no command line parameters. Mainly for developers for debugging at the moment. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11497 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ae221f1402
commit
0dd7ea2d71
15 changed files with 298 additions and 137 deletions
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
#ifdef ROCKBOX_HAS_LOGF
|
||||
|
||||
#ifndef __PCTOOL__
|
||||
#define MAX_LOGF_LINES 1000
|
||||
#define MAX_LOGF_ENTRY 30
|
||||
#define MAX_LOGF_DATASIZE (MAX_LOGF_ENTRY*MAX_LOGF_LINES)
|
||||
|
|
@ -30,11 +31,14 @@
|
|||
extern unsigned char logfbuffer[MAX_LOGF_LINES][MAX_LOGF_ENTRY];
|
||||
extern int logfindex;
|
||||
extern bool logfwrap;
|
||||
#endif /* __PCTOOL__ */
|
||||
|
||||
void logf(const char *format, ...);
|
||||
#else
|
||||
#define logf _logf
|
||||
void _logf(const char *format, ...);
|
||||
|
||||
#else /* !ROCKBOX_HAS_LOGF */
|
||||
/* built without logf() support enabled */
|
||||
#define logf(...)
|
||||
#endif
|
||||
#endif /* !ROCKBOX_HAS_LOGF */
|
||||
|
||||
#endif /* LOGF_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue