summaryrefslogtreecommitdiff
path: root/uisimulator/common/file.h
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2004-06-14 07:00:50 +0000
committerHardeep Sidhu <dyp@pobox.com>2004-06-14 07:00:50 +0000
commitfb26bfb662e7939b6646d290ad658fe1bdbffc8e (patch)
tree6db2aa5049259834333885891f7af6903625cbe2 /uisimulator/common/file.h
parent2dafebfe1698ee32cce48b9cf4cb3b59a17b295d (diff)
downloadrockbox-fb26bfb662e7939b6646d290ad658fe1bdbffc8e.zip
rockbox-fb26bfb662e7939b6646d290ad658fe1bdbffc8e.tar.gz
rockbox-fb26bfb662e7939b6646d290ad658fe1bdbffc8e.tar.bz2
rockbox-fb26bfb662e7939b6646d290ad658fe1bdbffc8e.tar.xz
Fixed VC++ build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4739 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/common/file.h')
-rw-r--r--uisimulator/common/file.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/uisimulator/common/file.h b/uisimulator/common/file.h
index 8d91b61..0e50031 100644
--- a/uisimulator/common/file.h
+++ b/uisimulator/common/file.h
@@ -32,6 +32,11 @@
#ifdef WIN32
#ifndef _commit
extern int _commit( int handle );
+
+#ifdef _MSC_VER
+typedef unsigned int mode_t;
+#endif
+
#endif
#endif