1
0
Fork 0
forked from len0rd/rockbox

Fix database tool.

It was also broken functionally, probably since a while.So restore the
functionality. Run it on the dap, the tcd files will be placed into .rockbox folder.

Change-Id: Id7a6ce4389dfaf99799258902be80d630af0601c
This commit is contained in:
Thomas Martitz 2012-07-31 10:33:27 +02:00
parent b358bcfc25
commit efe73e143a
10 changed files with 62 additions and 64 deletions

View file

@ -54,7 +54,7 @@ extern int app_rename(const char* path, const char* newname);
# define write(x,y,z) sim_write(x,y,z)
# define close(x) sim_close(x)
# endif
#elif defined(SIMULATOR)
#elif defined(SIMULATOR) || defined(DBTOOL)
# define open(x, ...) sim_open(x, __VA_ARGS__)
# define creat(x,m) sim_creat(x,m)
# define remove(x) sim_remove(x)