diff options
Diffstat (limited to 'src/strongname/inc/strongnameholders.h')
-rw-r--r-- | src/strongname/inc/strongnameholders.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strongname/inc/strongnameholders.h b/src/strongname/inc/strongnameholders.h index a439768e74..1a95c87aa7 100644 --- a/src/strongname/inc/strongnameholders.h +++ b/src/strongname/inc/strongnameholders.h @@ -21,7 +21,7 @@ void VoidStrongNameFreeBuffer(__in T *pBuffer) } NEW_WRAPPER_TEMPLATE1(StrongNameBufferHolder, VoidStrongNameFreeBuffer<_TYPE>); -#if !defined(FEATURE_CORECLR) || (defined(CROSSGEN_COMPILE) && !defined(PLATFORM_UNIX)) +#if defined(CROSSGEN_COMPILE) && !defined(PLATFORM_UNIX) // Holder for HCRYPTPROV handles directly allocated from CAPI inline void ReleaseCapiProvider(HCRYPTPROV hProv) { @@ -40,7 +40,7 @@ inline void ReleaseCapiHash(HCRYPTHASH hHash) CryptDestroyHash(hHash); } typedef Wrapper<HCRYPTHASH, DoNothing, ReleaseCapiHash, 0> CapiHashHolder; -#endif // !FEATURE_CORECLR || CROSSGEN_COMPILE +#endif // defined(CROSSGEN_COMPILE) && !defined(PLATFORM_UNIX) #if SNAPI_INTERNAL |