summaryrefslogtreecommitdiff
path: root/uisimulator/win32/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/win32/file.h')
-rw-r--r--uisimulator/win32/file.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/uisimulator/win32/file.h b/uisimulator/win32/file.h
deleted file mode 100644
index 2c94ba320a..0000000000
--- a/uisimulator/win32/file.h
+++ /dev/null
@@ -1,43 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 by Daniel Stenberg <daniel@haxx.se>
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
20#ifndef _FILE_H_
21
22#ifndef __MINGW32__
23#include <io.h>
24#include <fcntl.h>
25#endif
26
27#ifndef _commit
28extern int _commit( int handle );
29#endif
30
31int win32_rename(char *oldpath, char *newpath);
32int win32_filesize(int fd);
33
34#define rename win32_rename
35#define filesize win32_filesize
36#define fsync _commit
37
38#include "../../firmware/include/file.h"
39
40#undef rename
41#define mkdir(x,y) win32_mkdir(x,y)
42
43#endif