diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/checkwps/SOURCES | 8 | ||||
-rw-r--r-- | tools/checkwps/checkwps.c | 1 | ||||
-rw-r--r-- | tools/database/SOURCES | 4 |
3 files changed, 8 insertions, 5 deletions
diff --git a/tools/checkwps/SOURCES b/tools/checkwps/SOURCES index 425e8de7b9..3a406d1b29 100644 --- a/tools/checkwps/SOURCES +++ b/tools/checkwps/SOURCES @@ -6,12 +6,12 @@ ../../firmware/common/strlcpy.c ../../firmware/common/pathfuncs.c ../../firmware/asm/mempcpy.c +#ifdef WIN32 +../../firmware/target/hosted/filesystem-win32.c +#else /* !WIN32 */ ../../firmware/target/hosted/filesystem-unix.c -#ifdef APPLICATION +#endif /* WIN32 */ ../../firmware/target/hosted/filesystem-app.c -#else -../../uisimulator/common/filesystem-sim.c -#endif #ifdef DEBUG ../../firmware/debug.c #endif diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c index c2cadc7444..1948c208fd 100644 --- a/tools/checkwps/checkwps.c +++ b/tools/checkwps/checkwps.c @@ -39,7 +39,6 @@ bool debug_wps = true; int wps_verbose_level = 0; char *skin_buffer; -const char *sim_root_dir = "."; const struct settings_list *settings; const int nb_settings = 0; diff --git a/tools/database/SOURCES b/tools/database/SOURCES index 71593bba11..36d6247092 100644 --- a/tools/database/SOURCES +++ b/tools/database/SOURCES @@ -10,7 +10,11 @@ database.c ../../firmware/common/unicode.c ../../firmware/target/hosted/debug-hosted.c ../../firmware/logf.c +#ifdef WIN32 +../../firmware/target/hosted/filesystem-win32.c +#else /* !WIN32 */ ../../firmware/target/hosted/filesystem-unix.c +#endif /* WIN32 */ #ifdef APPLICATION ../../firmware/target/hosted/filesystem-app.c #else /* !APPLICATION */ |