1
0
Fork 0
forked from len0rd/rockbox

Include proper io headers to insure that proper file arguments are used. Also mapped flush to appropriate win32 call.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3711 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Hardeep Sidhu 2003-05-30 01:59:32 +00:00
parent 23d1cdd4de
commit 71197f1d02

View file

@ -19,11 +19,15 @@
#ifndef _FILE_H_ #ifndef _FILE_H_
#include <io.h>
#include <fcntl.h>
int win32_rename(char *oldpath, char *newpath); int win32_rename(char *oldpath, char *newpath);
int win32_filesize(int fd); int win32_filesize(int fd);
#define rename(x,y) win32_rename(x,y) #define rename(x,y) win32_rename(x,y)
#define filesize(x) win32_filesize(x) #define filesize(x) win32_filesize(x)
#define flush(x) _commit(x)
#include "../../firmware/include/file.h" #include "../../firmware/include/file.h"