[x86/Linux] Fix dangling CLR_ImpersonateLoggedOnUser reference (dotnet/coreclr#8435)
authorJonghyun Park <parjong@gmail.com>
Mon, 5 Dec 2016 20:06:49 +0000 (05:06 +0900)
committerJan Vorlicek <janvorli@microsoft.com>
Mon, 5 Dec 2016 20:06:49 +0000 (21:06 +0100)
commit567b6d6d2090052f0e3ffaa5d79c78101d267778
treea34e7859119a59822eac3da517afda6d33846a0f
parent6da5c29fc72975c0240ff83d334d092f2b66c0ed
[x86/Linux] Fix dangling CLR_ImpersonateLoggedOnUser reference (dotnet/coreclr#8435)

src/vm/securityprincipal.cpp is not included in x86/Linux build, and
thus all the reference to the functions in it will be dangling. (i.e.
COMPrincipal::CLR_ImpersonateLoggedOnUser).

This commit hides COMPrincipal for non-Windows platforms, and marks
COMPlusThrowCallbackHelper as NYI.

Commit migrated from https://github.com/dotnet/coreclr/commit/46483e11a314a167eecc557ef3f246dcc95bee99
src/coreclr/src/vm/i386/excepx86.cpp
src/coreclr/src/vm/securityprincipal.h