diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-06-26 20:08:57 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-06-26 20:08:57 +0000 |
commit | beac80cd437fb383eeaccc4224a4d7faebd77a23 (patch) | |
tree | 039fce388291883e48c5d8a45a0548e54f9ad3f3 /vl.h | |
parent | 3587d7e69cd25f14eccec01c547f1257171fde7b (diff) |
Windows sparse file support (Frediano Ziglio)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2027 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r-- | vl.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -51,8 +51,9 @@ #define fsync _commit #define lseek _lseeki64 #define ENOTSUP 4096 -/* XXX: find 64 bit version */ -#define ftruncate chsize +extern int qemu_ftruncate64(int, int64_t); +#define ftruncate qemu_ftruncate64 + static inline char *realpath(const char *path, char *resolved_path) { |