diff options
Diffstat (limited to 'net/disk_cache/os_file.h')
-rw-r--r-- | net/disk_cache/os_file.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/os_file.h b/net/disk_cache/os_file.h index bbcedc1..2ef95e0 100644 --- a/net/disk_cache/os_file.h +++ b/net/disk_cache/os_file.h @@ -16,6 +16,7 @@ namespace disk_cache { typedef HANDLE OSFile; #elif defined(OS_POSIX) typedef int OSFile; +const OSFile INVALID_HANDLE_VALUE = -1; #endif enum OSFileFlags { @@ -37,4 +38,3 @@ OSFile CreateOSFile(const std::wstring& name, int flags, bool* created); } // namespace disk_cache #endif // NET_DISK_CACHE_OS_FILE_H_ - |