aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/Windows/system_error.inc
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-01-15 18:52:33 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-01-15 18:52:33 +0000
commitd6cdf1d3cb0263c413684aa20cb8aa91f9e128de (patch)
tree4290d11cb57b0225d12eb808779d7ec766261c1d /lib/Support/Windows/system_error.inc
parentcd7f0a1a7f216418856812f6417faf4fe5e72046 (diff)
Support/PathV2: Implement get_magic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123544 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Windows/system_error.inc')
-rw-r--r--lib/Support/Windows/system_error.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Support/Windows/system_error.inc b/lib/Support/Windows/system_error.inc
index 73304d517f..64753d0eea 100644
--- a/lib/Support/Windows/system_error.inc
+++ b/lib/Support/Windows/system_error.inc
@@ -79,6 +79,7 @@ _system_error_category::default_error_condition(int ev) const {
MAP_ERR_TO_COND(ERROR_FILE_EXISTS, file_exists);
MAP_ERR_TO_COND(ERROR_FILE_NOT_FOUND, no_such_file_or_directory);
MAP_ERR_TO_COND(ERROR_HANDLE_DISK_FULL, no_space_on_device);
+ MAP_ERR_TO_COND(ERROR_HANDLE_EOF, value_too_large);
MAP_ERR_TO_COND(ERROR_INVALID_ACCESS, permission_denied);
MAP_ERR_TO_COND(ERROR_INVALID_DRIVE, no_such_device);
MAP_ERR_TO_COND(ERROR_INVALID_FUNCTION, function_not_supported);