diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2005-05-07 22:41:17 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2005-05-07 22:41:17 +0000 |
| commit | b8a23f9e4980e6a041d750c325ab2845aea8488a (patch) | |
| tree | d10400e99208595638f13e7fe3b279274a173e56 /apps/database.c | |
| parent | d23afcd4f4ad72b1c2c087055a9ba4457f2646cd (diff) | |
| download | rockbox-b8a23f9e4980e6a041d750c325ab2845aea8488a.zip rockbox-b8a23f9e4980e6a041d750c325ab2845aea8488a.tar.gz rockbox-b8a23f9e4980e6a041d750c325ab2845aea8488a.tar.bz2 rockbox-b8a23f9e4980e6a041d750c325ab2845aea8488a.tar.xz | |
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
Diffstat (limited to 'apps/database.c')
| -rw-r--r-- | apps/database.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/database.c b/apps/database.c index 615403d..c753362 100644 --- a/apps/database.c +++ b/apps/database.c @@ -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); |