forked from len0rd/rockbox
Fixed makefiles for autoconf.g include.
Fixed build output look in several Makefiles Fixed code to include autoconf.h Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d23afcd4f4
commit
b8a23f9e49
30 changed files with 187 additions and 178 deletions
|
|
@ -42,6 +42,7 @@
|
|||
#include "lang.h"
|
||||
#include "keyboard.h"
|
||||
#include "database.h"
|
||||
#include "autoconf.h"
|
||||
|
||||
#undef NEW_DB_CODE
|
||||
|
||||
|
|
@ -58,7 +59,7 @@ struct tagdb_header tagdbheader;
|
|||
int tagdb_init(void)
|
||||
{
|
||||
unsigned char* ptr = (char*)&tagdbheader.version;
|
||||
#ifdef LITTLE_ENDIAN
|
||||
#ifdef ROCKBOX_LITTLE_ENDIAN
|
||||
int i, *p;
|
||||
#endif
|
||||
|
||||
|
|
@ -76,7 +77,7 @@ int tagdb_init(void)
|
|||
splash(HZ,true,"Not a rockbox ID3 database!");
|
||||
return -1;
|
||||
}
|
||||
#ifdef LITTLE_ENDIAN
|
||||
#ifdef ROCKBOX_LITTLE_ENDIAN
|
||||
p=(int *)&tagdbheader;
|
||||
for(i=0;i<17;i++) {
|
||||
*p=BE32(*p);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue