summaryrefslogtreecommitdiffstats
path: root/tools/checkwps/checkwps.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-08-21 19:16:07 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-08-21 19:16:07 +0000
commit8741cd4ebda2b810cf127d6c43726df9fc483acc (patch)
tree99d9ee8e3cdb1677b488a4da75426781afca3d7f /tools/checkwps/checkwps.c
parentd0d1c8321a8f94af2537652bc1ba97300acd7e2e (diff)
downloadrockbox-8741cd4ebda2b810cf127d6c43726df9fc483acc.tar.gz
rockbox-8741cd4ebda2b810cf127d6c43726df9fc483acc.tar.bz2
rockbox-8741cd4ebda2b810cf127d6c43726df9fc483acc.zip
Fix building checkwps on targets without a remote
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22453 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/checkwps/checkwps.c')
-rw-r--r--tools/checkwps/checkwps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c
index 4cb2652c91..5789f05e88 100644
--- a/tools/checkwps/checkwps.c
+++ b/tools/checkwps/checkwps.c
@@ -463,6 +463,7 @@ int main(int argc, char **argv)
* flawed wps */
while (argv[filearg]) {
printf("Checking %s...\n", argv[filearg]);
+#ifdef HAVE_REMOTE
if(strcmp(&argv[filearg][strlen(argv[filearg])-4], "rwps") == 0)
{
wps_screen = &screens[SCREEN_REMOTE];
@@ -473,6 +474,7 @@ int main(int argc, char **argv)
wps_screen = &screens[SCREEN_MAIN];
wps.remote_wps = false;
}
+#endif
res = skin_data_load(&wps, wps_screen, argv[filearg], true);