diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-04-18 22:16:30 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-04-18 22:17:41 +0900 |
| commit | 1126722bd3e21dec8ecc84b9129c8998ac2bb661 (patch) | |
| tree | 356c64bc20c3f8d08cf14b2ad5be64caef39d002 /src/FallocFileAllocationIterator.h | |
| parent | c9e2223741f9627f27b3d2befef48acdd79d504d (diff) | |
mingw: Defer the falloc warning until falloc is specified by option
Diffstat (limited to 'src/FallocFileAllocationIterator.h')
| -rw-r--r-- | src/FallocFileAllocationIterator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/FallocFileAllocationIterator.h b/src/FallocFileAllocationIterator.h index fb306af1..08b8b4a1 100644 --- a/src/FallocFileAllocationIterator.h +++ b/src/FallocFileAllocationIterator.h @@ -47,6 +47,10 @@ private: int64_t offset_; int64_t totalLength_; +#ifdef __MINGW32__ + static bool gainPrivilegeAttempted_; +#endif // __MINGW32__ + public: FallocFileAllocationIterator(BinaryStream* stream, int64_t offset, int64_t totalLength); |
