diff options
author | Francois Pichet <pichet2000@gmail.com> | 2012-06-20 04:08:49 +0000 |
---|---|---|
committer | Francois Pichet <pichet2000@gmail.com> | 2012-06-20 04:08:49 +0000 |
commit | a8e0865b7aaeabee8941503842d7978ebcc11f59 (patch) | |
tree | b16efdba35f18866d7027fff55b1c85bd6d45383 | |
parent | cbf24b4e58c2f621f480883c5bb1f2f2b2b8d497 (diff) |
Unbreak the MSVC build: add return to unimplemented functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158788 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Support/Windows/PathV2.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Support/Windows/PathV2.inc b/lib/Support/Windows/PathV2.inc index c79d8ab0aa..66eeab058f 100644 --- a/lib/Support/Windows/PathV2.inc +++ b/lib/Support/Windows/PathV2.inc @@ -793,10 +793,12 @@ error_code detail::directory_iterator_increment(detail::DirIterState &it) { error_code map_file_pages(const Twine &path, off_t file_offset, size_t size, bool map_writable, void *&result) { assert(0 && "NOT IMPLEMENTED"); + return windows_error::invalid_function; } error_code unmap_file_pages(void *base, size_t size) { assert(0 && "NOT IMPLEMENTED"); + return windows_error::invalid_function; } |