1
0
Fork 0
forked from len0rd/rockbox

added weirdo extra protos for the mingw cross-compile build

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1534 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2002-08-05 07:51:09 +00:00
parent d563866935
commit 1beaa8b362

View file

@ -38,7 +38,15 @@
#define O_RDWR 2
#endif
#if !defined(SIMULATOR) || defined(__MINGW32__)
#if defined(__MINGW32__) && defined(SIMULATOR)
int open (const char*, int, ...);
extern int close(int fd);
int read (int, void*, unsigned int);
long lseek (int, long, int);
#else
#ifndef SIMULATOR
extern int open(char* pathname, int flags);
extern int close(int fd);
extern int read(int fd, void* buf, int count);
@ -57,4 +65,6 @@ extern int rename(char* oldname, char* newname);
#endif /* WIN32 */
#endif /* SIMULATOR */
#endif /* __MINGW32__ */
#endif