From 2d463ee3d6c128f4bfa36d70e46bb023c7b59f38 Mon Sep 17 00:00:00 2001 From: Mike McLaughlin Date: Wed, 2 Sep 2020 12:11:42 -0700 Subject: [PATCH] Fix cross-OS DAC metadata locator interface callback (#41746) --- src/coreclr/src/debug/di/module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/src/debug/di/module.cpp b/src/coreclr/src/debug/di/module.cpp index 9554f61..39f306f 100644 --- a/src/coreclr/src/debug/di/module.cpp +++ b/src/coreclr/src/debug/di/module.cpp @@ -869,7 +869,7 @@ HRESULT CordbModule::InitPublicMetaDataFromFile(const WCHAR * pszFullPathName, DWORD dwOpenFlags, bool validateFileInfo) { -#ifdef TARGET_UNIX +#ifdef HOST_UNIX // UNIXTODO: Some intricate details of file mapping don't work on Linux as on Windows. // We have to revisit this and try to fix it for POSIX system. return E_FAIL; -- 2.7.4