diff options
author | Jan Kotas <jkotas@microsoft.com> | 2015-05-07 09:39:14 -0700 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2015-05-07 09:39:14 -0700 |
commit | 2dc29d63c5f7ba5f78b6137ca6e83052ed040bdb (patch) | |
tree | fbae455e1c0422dccf5743b5415f251269b12ee4 /src/vm | |
parent | c6efc7047edb38075310cfef8ea28b91717b8108 (diff) | |
download | coreclr-2dc29d63c5f7ba5f78b6137ca6e83052ed040bdb.tar.gz coreclr-2dc29d63c5f7ba5f78b6137ca6e83052ed040bdb.tar.bz2 coreclr-2dc29d63c5f7ba5f78b6137ca6e83052ed040bdb.zip |
Fix build break on Unix
Diffstat (limited to 'src/vm')
-rw-r--r-- | src/vm/dllimport.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vm/dllimport.cpp b/src/vm/dllimport.cpp index c707596fa4..a742aa3b6c 100644 --- a/src/vm/dllimport.cpp +++ b/src/vm/dllimport.cpp @@ -6807,6 +6807,7 @@ HMODULE NDirect::LoadLibraryModuleViaHost(NDirectMethodDesc * pMD, AppDomain* pD return NULL; } +#ifdef FEATURE_COMINTEROP CLRPrivBinderWinRT *pWinRTBinder = pDomain->GetWinRtBinder(); if (AreSameBinderInstance(pCurrentBinder, pWinRTBinder)) { @@ -6816,6 +6817,7 @@ HMODULE NDirect::LoadLibraryModuleViaHost(NDirectMethodDesc * pMD, AppDomain* pD // For this, we should use the standard mechanism to make pinvoke call as well. return NULL; } +#endif // FEATURE_COMINTEROP //Step 1: If the assembly was not bound using TPA, // Call System.Runtime.Loader.AssemblyLoadContext.ResolveUnamanagedDll to give |