summaryrefslogtreecommitdiff
path: root/firmware/include/dir.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2017-01-16 07:23:09 -0500
committerMichael Sevakis <jethead71@rockbox.org>2017-01-16 07:30:39 -0500
commit4f7fea2addf4a5bc7c301e78f53d9080eaf43fb6 (patch)
tree6b72c005607b8d4cda9b7c599716eec391fe43a9 /firmware/include/dir.h
parent16d1788356e82c639302a884437341e039574822 (diff)
downloadrockbox-4f7fea2addf4a5bc7c301e78f53d9080eaf43fb6.tar.gz
rockbox-4f7fea2addf4a5bc7c301e78f53d9080eaf43fb6.zip
Fix path handling snafu for CheckWPS tool
Somehow it got hooked to simulator file functions when it should be (and was) using raw OS functions. Credit: Frank Gevaerts Change-Id: Iac02fed1067830a432183632a047e00dfd03d3c2
Diffstat (limited to 'firmware/include/dir.h')
-rw-r--r--firmware/include/dir.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/include/dir.h b/firmware/include/dir.h
index f7719823a9..2f78b11cf5 100644
--- a/firmware/include/dir.h
+++ b/firmware/include/dir.h
@@ -27,9 +27,9 @@
27#include "config.h" 27#include "config.h"
28#include "fs_attr.h" 28#include "fs_attr.h"
29 29
30#if defined (APPLICATION) 30#if defined (APPLICATION) || defined(CHECKWPS)
31#include "filesystem-app.h" 31#include "filesystem-app.h"
32#elif defined(SIMULATOR) || defined(__PCTOOL__) 32#elif defined(SIMULATOR) || defined(DBTOOL)
33#include "../../uisimulator/common/filesystem-sim.h" 33#include "../../uisimulator/common/filesystem-sim.h"
34#else 34#else
35#include "filesystem-native.h" 35#include "filesystem-native.h"