From a8e0865b7aaeabee8941503842d7978ebcc11f59 Mon Sep 17 00:00:00 2001 From: Francois Pichet Date: Wed, 20 Jun 2012 04:08:49 +0000 Subject: [PATCH] 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 --- lib/Support/Windows/PathV2.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Support/Windows/PathV2.inc b/lib/Support/Windows/PathV2.inc index c79d8ab0aa6..66eeab058f6 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; } -- 2.11.0