summaryrefslogtreecommitdiff
path: root/uisimulator/win32/file-win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/win32/file-win32.h')
-rw-r--r--uisimulator/win32/file-win32.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/uisimulator/win32/file-win32.h b/uisimulator/win32/file-win32.h
new file mode 100644
index 0000000000..d5ba495d55
--- /dev/null
+++ b/uisimulator/win32/file-win32.h
@@ -0,0 +1,37 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 by Felix Arends
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_WIN32_H__
21#define __FILE_WIN32_H__
22
23#include <io.h>
24
25typedef unsigned short ino_t;
26typedef long off_t;
27typedef _finddata_t DIR;
28
29struct dirent
30{
31 long __d_reserved[4];
32 ino_t d_ino; /* Just for compatibility, it's junk */
33 char d_name[256]; /* FIXME: use NAME_MAX? */
34};
35
36
37#endif // #ifndef __FILE_WIN32_H__ \ No newline at end of file