1
0
Fork 0
forked from len0rd/rockbox

Finally, the archos directory sandbox works in the same way for both X11 and win32 simulators. Unfortunately, this breaks the VC++ compatibility. Also, the plugin API now supports DEBUGF. Last, but not least, we have a new plugin, vbrfix.rock.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4726 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-06-10 13:29:52 +00:00
parent 5fc1b64ae0
commit a6142ab7ab
21 changed files with 415 additions and 397 deletions

View file

@ -75,18 +75,6 @@ typedef ssize_t (*write_func)(int fd, const void *buf, size_t count);
typedef void (*qsort_func)(void *base, size_t nmemb, size_t size,
int(*_compar)(const void *, const void *));
#if defined(__MINGW32__) && defined(SIMULATOR)
extern int open(const char*, int flags, ...);
extern int close(int fd);
extern int read(int, void*, unsigned int);
extern long lseek(int, long, int);
extern int creat(const char *, int);
extern int write(int, const void*, unsigned int);
extern int remove(const char*);
#else
#ifndef SIMULATOR
extern int open(const char* pathname, int flags);
extern int close(int fd);
@ -100,6 +88,5 @@ extern int rename(const char* path, const char* newname);
extern int ftruncate(int fd, off_t length);
extern int filesize(int fd);
#endif /* SIMULATOR */
#endif /* __MINGW32__ */
#endif