summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2012-03-03 18:08:40 +0100
committerFrank Gevaerts <frank@gevaerts.be>2012-03-03 18:08:40 +0100
commit71953a42666101c2ea9a124f94c9dffe5f94b89a (patch)
tree51d62027cb598b0006cf71a480e06c3d831fcf06 /firmware/include
parent8eb36cfe855501309fbb829aa9bb199eb3428b10 (diff)
downloadrockbox-71953a42666101c2ea9a124f94c9dffe5f94b89a.zip
rockbox-71953a42666101c2ea9a124f94c9dffe5f94b89a.tar.gz
rockbox-71953a42666101c2ea9a124f94c9dffe5f94b89a.tar.bz2
rockbox-71953a42666101c2ea9a124f94c9dffe5f94b89a.tar.xz
Don't redirect file IO to app_* for __PCTOOLS__ builds.
Change-Id: Id8c2d277d4f393cb1bf32654dbd1a21730fd8269
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/include/file.h b/firmware/include/file.h
index 4835450..ac856ed 100644
--- a/firmware/include/file.h
+++ b/firmware/include/file.h
@@ -37,7 +37,7 @@
#define MAX_OPEN_FILES 11
#if !defined(PLUGIN) && !defined(CODEC)
-#if defined(APPLICATION)
+#if defined(APPLICATION) && !defined(__PCTOOL__)
# define open(x, ...) app_open(x, __VA_ARGS__)
# define creat(x,m) app_creat(x, m)
# define remove(x) app_remove(x)