summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitee1699c3625cfbc2b122e11f4259860fff5b0e68 (patch)
tree38e3d29d53ba8e4ae782b1f41b7f96fbbccce9fd /llvm/lib/Support/Windows/system_error.inc
parent4a1ff16b2922138333eb4251b7573ff076aa77b4 (diff)
downloadbcm5719-llvm-ee1699c3625cfbc2b122e11f4259860fff5b0e68.tar.gz
bcm5719-llvm-ee1699c3625cfbc2b122e11f4259860fff5b0e68.zip
Support/PathV2: Implement get_magic.
llvm-svn: 123544
Diffstat (limited to 'llvm/lib/Support/Windows/system_error.inc')
-rw-r--r--llvm/lib/Support/Windows/system_error.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/Windows/system_error.inc b/llvm/lib/Support/Windows/system_error.inc
index 73304d517fa..64753d0eea8 100644
--- a/llvm/lib/Support/Windows/system_error.inc
+++ b/llvm/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);
OpenPOWER on IntegriCloud