diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2010-08-27 12:48:29 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2010-08-27 12:48:29 +0000 |
| commit | b16afb4356cb0bd2c7aafca1a9846d552ee12516 (patch) | |
| tree | 5c8431c5a30e5cbdc11f347024fd612238e98ae8 /firmware | |
| parent | 2c2e261648d5ae1befe5c4f269a655cc06b6e1e9 (diff) | |
| download | rockbox-b16afb4356cb0bd2c7aafca1a9846d552ee12516.zip rockbox-b16afb4356cb0bd2c7aafca1a9846d552ee12516.tar.gz rockbox-b16afb4356cb0bd2c7aafca1a9846d552ee12516.tar.bz2 rockbox-b16afb4356cb0bd2c7aafca1a9846d552ee12516.tar.xz | |
Fix checkwps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27905 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
| -rw-r--r-- | firmware/include/file.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/include/file.h b/firmware/include/file.h index 7799f3d..8a084d6 100644 --- a/firmware/include/file.h +++ b/firmware/include/file.h @@ -66,14 +66,14 @@ extern int fsync(int fd); extern ssize_t read(int fd, void *buf, size_t count); extern off_t lseek(int fildes, off_t offset, int whence); extern int file_creat(const char *pathname); -#if (CONFIG_PLATFORM & PLATFORM_NATIVE) +#if (CONFIG_PLATFORM & PLATFORM_NATIVE) && !defined(__PCTOOL__) /* posix compatibility function */ static inline int creat(const char *pathname, mode_t mode) { (void)mode; return file_creat(pathname); } -#if !defined(CODEC) && !defined(PLUGIN) && !defined(__PCTOOL__) +#if !defined(CODEC) && !defined(PLUGIN) #define open(x, y, ...) file_open(x,y) #endif #endif |