diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-07-06 04:38:54 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-07-06 04:38:54 +0000 |
| commit | cfa808126b37d24944bc817972079b333c4cf8a1 (patch) | |
| tree | df7bb40b5ebc31f7f0cbaae3340b15a121e02240 /src/AbstractDiskWriter.cc | |
| parent | 46f081f1dbf66e8b40a4412c6cc4f41c8aa40d20 (diff) | |
2008-07-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Introduced a2_struct_stat. It is defined as `struct _stati64' if
__MINGW32__ is defined, because under MinGW32, _stati64 is used
and its
second argument is of type `struct _stati64'. Otherwise it is
defined as
`struct stat'.
* src/AbstractDiskWriter.cc
* src/File.cc
* src/File.h
* src/a2io.h
Diffstat (limited to 'src/AbstractDiskWriter.cc')
| -rw-r--r-- | src/AbstractDiskWriter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AbstractDiskWriter.cc b/src/AbstractDiskWriter.cc index afc3b7b7..11cb130b 100644 --- a/src/AbstractDiskWriter.cc +++ b/src/AbstractDiskWriter.cc @@ -168,7 +168,7 @@ uint64_t AbstractDiskWriter::size() const if(fd == -1) { throw DlAbortEx("File not opened."); } - struct stat fileStat; + a2_struct_stat fileStat; if(fstat(fd, &fileStat) < 0) { return 0; } |
