From 5dc987a3d16bdedbda878755d22425de3fdd6534 Mon Sep 17 00:00:00 2001 From: Francois Pichet Date: Wed, 20 Jun 2012 04:08:49 +0000 Subject: Unbreak the MSVC build: add return to unimplemented functions. llvm-svn: 158788 --- llvm/lib/Support/Windows/PathV2.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/Support/Windows') diff --git a/llvm/lib/Support/Windows/PathV2.inc b/llvm/lib/Support/Windows/PathV2.inc index c79d8ab0aa6..66eeab058f6 100644 --- a/llvm/lib/Support/Windows/PathV2.inc +++ b/llvm/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; } -- cgit v1.2.3