summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2008-12-15 23:42:19 +0000
committerBjörn Stenberg <bjorn@haxx.se>2008-12-15 23:42:19 +0000
commitee46a3d88e8378e58f01ff0d521477ba0b7201fb (patch)
treead63d929d4ebb1f762faf838ee9da965cfc0ab0b /firmware
parent9f37f04619feb93a6a5adb36e7db6d7ace3c227c (diff)
downloadrockbox-ee46a3d88e8378e58f01ff0d521477ba0b7201fb.tar.gz
rockbox-ee46a3d88e8378e58f01ff0d521477ba0b7201fb.zip
Moved database builder into a separate directory, and gave it its' own Makefile. Now it compiles cleanly and builds a database if ran in root of music tree.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19448 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/common/unicode.c5
-rw-r--r--firmware/include/time.h7
2 files changed, 9 insertions, 3 deletions
diff --git a/firmware/common/unicode.c b/firmware/common/unicode.c
index 713a8e70f9..61989e5ab0 100644
--- a/firmware/common/unicode.c
+++ b/firmware/common/unicode.c
@@ -83,9 +83,8 @@ static const char *name_codepages[NUM_CODEPAGES+1] =
83#define MAX_CP_TABLE_SIZE 640 83#define MAX_CP_TABLE_SIZE 640
84#define NUM_TABLES 1 84#define NUM_TABLES 1
85 85
86static const char *filename[NUM_TABLES] = 86static const char *filename[NUM_TABLES] = {
87{ 87 CODEPAGE_DIR"/isomini.cp"
88 CODEPAGE_DIR"/isomini.cp",
89}; 88};
90 89
91static const char cp_2_table[NUM_CODEPAGES] = 90static const char cp_2_table[NUM_CODEPAGES] =
diff --git a/firmware/include/time.h b/firmware/include/time.h
index 9200e82232..9010d99cc2 100644
--- a/firmware/include/time.h
+++ b/firmware/include/time.h
@@ -37,6 +37,13 @@ struct tm *localtime(const time_t *timep);
37 37
38#endif /* SIMULATOR */ 38#endif /* SIMULATOR */
39 39
40#ifdef __PCTOOL__
41/* this time.h does not define struct timespec,
42 so tell sys/stat.h not to use it */
43#undef __USE_MISC
44#endif
45
46
40#endif /* _TIME_H_ */ 47#endif /* _TIME_H_ */
41 48
42 49