Merge remote-tracking branch 'origin/dev/lhecker/proxy-no-default-lib' into dev/migrie/f/non-terminal-content-elevation-warning
This commit is contained in:
commit
90b79624ca
|
@ -62,6 +62,7 @@
|
|||
<!-- Must be Stdcall on all platforms to resolve _ObjectStublessClient3 -->
|
||||
<PreprocessorDefinitions>REGISTER_PROXY_DLL;WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||
<SDLCheck>false</SDLCheck>
|
||||
<ForcedIncludeFiles>nodefaultlib_shim.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
|
||||
|
|
|
@ -1,18 +1,8 @@
|
|||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT license.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <guiddef.h>
|
||||
|
||||
#if !defined(_M_IX86) && !defined(_M_X64)
|
||||
|
||||
// ARM64 doesn't define a (__builtin_)memcmp function without CRT,
|
||||
// but we need one to compile IID_GENERIC_CHECK_IID.
|
||||
// Luckily we only ever use memcmp for IIDs.
|
||||
#pragma function(memcmp)
|
||||
inline int memcmp(const IID* a, const IID* b, size_t count)
|
||||
{
|
||||
(void)(count);
|
||||
return 1 - InlineIsEqualGUID(a, b);
|
||||
}
|
||||
|
||||
#endif
|
||||
#define memcmp(a, b, c) (!InlineIsEqualGUID(a, b))
|
||||
|
|
Loading…
Reference in a new issue